/* style.css - Flash ID Premium Design System & Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --bg-main: #f8fafc; /* Crisp cool slate-50 */
  --bg-card: #ffffff;
  --bg-dark: #0f172a; /* Slate-900 dark accent background */
  --bg-dark-card: #1e293b; /* Slate-800 card background */

  --color-text-primary: #0f172a; /* Slate-900 primary text */
  --color-text-secondary: #475569; /* Slate-600 secondary text */
  --color-text-muted: #64748b; /* Slate-500 muted text */
  --color-text-light: #f8fafc;

  /* Brand - Indigo & Violet */
  --brand-50: #f5f3ff;
  --brand-100: #ede9fe;
  --brand-200: #ddd6fe;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-900: #312e81;
  --brand-glow: rgba(99, 102, 241, 0.12);

  /* Success - Emerald Green */
  --success-50: #ecfdf5;
  --success-100: #d1fae5;
  --success-500: #10b981;
  --success-600: #059669;
  --success-700: #047857;

  /* Warning - Amber */
  --warning-50: #fffbeb;
  --warning-500: #f59e0b;

  /* Danger - Rose */
  --danger-50: #fff1f2;
  --danger-500: #f43f5e;

  /* UI Tokens */
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 38px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -8px rgba(15, 23, 42, 0.06);
  --shadow-brand: 0 12px 35px -10px rgba(99, 102, 241, 0.3);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Custom Selection Highlight */
::selection {
  background-color: var(--brand-100);
  color: var(--brand-900);
}

/* Thin Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6.5rem 0;
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background-color: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.badge-emerald {
  background-color: var(--success-50);
  border-color: var(--success-100);
  color: var(--success-600);
}

/* Dot animation */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success-500);
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--success-500);
  animation: pulse-ring 1.5s infinite ease-in-out;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 800;
  font-size: 0.88rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-600);
  color: white;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background-color: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -8px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background-color: white;
  border: 1px solid #e2e8f0;
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.75rem;
  border-radius: var(--border-radius-sm);
}

.btn-full {
  width: 100%;
}section[id] {
  scroll-margin-top: 100px;
}

/* --- HEADER & NAVIGATION --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-700), var(--success-500));
  z-index: 200; /* Above header */
  transition: width 0.1s ease-out;
  box-shadow: 0 1px 10px rgba(99, 102, 241, 0.4);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  padding: 1.75rem 0;
  transition: all var(--transition-normal);
}

/* Scrolled Header State */
header.isScrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
}

header.isScrolled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
}

header .container {
  max-width: 1200px;
  padding: 0 1.5rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.logo-icon-wrapper {
  position: relative;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-brand);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.logo-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--success-500);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  box-shadow: 0 0 4px var(--success-500);
}

.logo-container:hover .logo-laser {
  opacity: 1;
  animation: logo-laser-sweep 1.2s ease-in-out infinite;
}

@keyframes logo-laser-sweep {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

header.isScrolled .logo-icon {
  width: 38px;
  height: 38px;
  transform: scale(0.92);
}

.logo-text h1 {
  font-size: 1.35rem;
  color: var(--color-text-primary);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.logo-text .logo-sub {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-600);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Clean, Floating Minimalist Nav links - Floating Glassmorphic rounded pill */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.05);
  transition: all var(--transition-normal);
}

/* Prevent dropdowns from overflowing off-screen on left/right edges */
.nav-menu .nav-item-dropdown:first-of-type .dropdown-menu-card {
  left: 0;
  transform: translateX(0);
}

.nav-menu .nav-item-dropdown:last-of-type .dropdown-menu-card {
  left: auto;
  right: 0;
  transform: translateX(0);
}

header.isScrolled .nav-menu {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(226, 232, 240, 0.95);
}

.nav-link {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  transition: all var(--transition-normal);
  position: relative;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-600);
  background-color: #ffffff;
  border-color: rgba(99, 102, 241, 0.08);
  box-shadow: var(--shadow-sm), 0 8px 16px -4px rgba(99, 102, 241, 0.06);
  transform: translateY(-1px);
}

/* Dropdowns layout and styling */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-normal);
}

.dropdown-chevron.rotate-180 {
  transform: rotate(180deg);
}

.dropdown-menu-card {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl), 0 20px 40px -10px rgba(15, 23, 42, 0.07);
  padding: 1.5rem;
  z-index: 120;
}

.dropdown-menu-narrow {
  width: 320px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dropdown-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--brand-600);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  padding-bottom: 0.35rem;
}

.dropdown-section-title .sec-icon {
  width: 14px;
  height: 14px;
}

.dropdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: rgba(99, 102, 241, 0.05);
}

.dropdown-item .item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-item .item-icon i {
  width: 14px;
  height: 14px;
}

.dropdown-item .item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item .item-text strong {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--color-text-primary);
}

.dropdown-item .item-text span {
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.dropdown-footer-banner {
  margin-top: 1.25rem;
  background-color: rgba(99, 102, 241, 0.03);
  border: 1px dashed rgba(99, 102, 241, 0.15);
  padding: 0.65rem 1rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--brand-700);
  font-weight: 600;
}

.dropdown-footer-banner i {
  width: 14px;
  height: 14px;
  color: var(--brand-600);
  flex-shrink: 0;
}

/* Transitions helper */
.transition-dropdown-enter {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.transition-dropdown-leave {
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Glowing primary CTA */
.btn-glowing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), var(--shadow-brand);
}

.btn-glowing::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(45deg);
  transition: none;
  pointer-events: none;
}

.btn-glowing:hover::after {
  animation: shine-effect 1.2s ease-in-out;
}

@keyframes shine-effect {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Morphing Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  padding: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #cbd5e1;
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  z-index: 160;
}

.menu-toggle:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: var(--color-text-primary);
  transform: scale(1.05);
}

.hamburger-box {
  width: 18px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 18px;
  height: 2px;
  background-color: var(--color-text-secondary);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -5px;
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger-inner::after {
  bottom: -5px;
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* Open Morph state */
.menu-toggle.open .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  background-color: var(--color-text-primary);
}

.menu-toggle.open .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.menu-toggle.open .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
  background-color: var(--color-text-primary);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(99, 102, 241, 0.03) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-position: center top;
  padding: 9.5rem 0 6.5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BLUF value block styled as a premium card */
.hero-bluf-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.75rem;
  margin: 0 0 2.5rem 0;
  max-width: 100%;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  text-align: left;
  transition: all var(--transition-normal);
}

.hero-bluf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -10px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.25);
}

.hero-bluf-card p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.hero-bluf-card strong {
  color: var(--brand-700);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.stat-item h4 {
  font-size: 1.95rem;
  font-weight: 900;
  color: var(--brand-600);
}

.stat-item p {
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Hero Visual Graphic Area with Glow sphere backdrop */
.hero-visual {
  position: relative;
  width: 100%;
  z-index: 10;
}

.hero-glow-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(16, 185, 129, 0.08) 35%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero-visual-card {
  position: relative;
  background-color: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  z-index: 1;
}

/* Float Animation */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

.visual-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: var(--success-500);
  color: white;
  padding: 0.45rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-grid-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}

/* --- HERO WORKFLOW CARD MOCKUP --- */
.hero-workflow-card {
  width: 100%;
  max-width: 680px;
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mockup-dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.mockup-dot.red { background-color: #ef4444; }
.mockup-dot.yellow { background-color: #f59e0b; }
.mockup-dot.green { background-color: #10b981; }

.mockup-address-bar {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-grow: 1;
  max-width: 380px;
  font-family: var(--font-heading);
}

.address-lock-icon {
  width: 10px;
  height: 10px;
  color: #10b981;
}

.mockup-status-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.mockup-image-container {
  position: relative;
  width: 100%;
  background-color: #f8fafc;
  line-height: 0;
  overflow: hidden;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-workflow-card:hover .hero-mockup-img {
  transform: scale(1.01);
}

/* Floating overlay widgets */
.floating-overlay-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--border-radius-md);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 20;
  pointer-events: none;
  animation: overlay-float 4s ease-in-out infinite;
}

.floating-overlay-badge.badge-top-left {
  top: 1.25rem;
  left: 1.25rem;
}

.floating-overlay-badge.badge-bottom-right {
  bottom: 1.25rem;
  right: 1.25rem;
  animation-delay: 2s;
}

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

.floating-overlay-badge .badge-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
}

.floating-overlay-badge.badge-top-left .badge-icon {
  color: #10b981;
}

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

.badge-text-group strong {
  font-size: 0.72rem;
  color: #0f172a;
  font-weight: 800;
}

.badge-text-group span {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 600;
}

/* --- INFINITE SCROLLING ID PHOTO CAROUSEL --- */
.carousel-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.carousel-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.carousel-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin-top: 0.5rem;
  letter-spacing: -0.025em;
}

.carousel-section-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.carousel-section-subtitle strong {
  color: var(--brand-600);
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: infinite-scroll 45s linear infinite;
  transition: animation-play-state var(--transition-normal);
}

.carousel-track.marquee-paused {
  animation-play-state: paused !important;
}

.carousel-set {
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem;
  flex-shrink: 0;
}

/* Loop exactly by one set (33.333% of 3 sets) */
@keyframes infinite-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}

/* Pause scroll on hover when not clicked */
.carousel-track:not(.marquee-paused):hover {
  animation-play-state: paused;
}

/* Redesigned Workflow Step Cards */
.carousel-workflow-card {
  position: relative;
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  user-select: none;
  flex-shrink: 0;
}

.carousel-workflow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.06);
}

.card-step-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(99, 102, 241, 0.12);
  z-index: 10;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-image-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.carousel-workflow-card:hover .card-image-wrapper img {
  transform: scale(1.03);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.card-info p {
  font-size: 0.76rem;
  line-height: 1.5;
  color: #475569;
}

.marquee-hover-pause:hover {
  animation-play-state: paused !important;
}

/* --- PROBLEM VS SOLUTION --- */
.comparison-section {
  background-color: white;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 4.5rem auto;
}

.section-header h3 {
  font-size: 2.5rem;
  color: var(--color-text-primary);
  margin-top: 0.5rem;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Visual Card Comparison Redesign */
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.upgrade-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: all var(--transition-normal);
}

.upgrade-card:hover {
  transform: translateY(-4px);
}

/* Card theme custom accents */
.upgrade-card.card-blue {
  border-top: 4px solid #3b82f6;
}
.upgrade-card.card-blue:hover {
  border-color: #3b82f6;
  box-shadow: var(--shadow-md), 0 8px 25px -8px rgba(59, 130, 246, 0.25);
}

.upgrade-card.card-purple {
  border-top: 4px solid #a855f7;
}
.upgrade-card.card-purple:hover {
  border-color: #a855f7;
  box-shadow: var(--shadow-md), 0 8px 25px -8px rgba(168, 85, 247, 0.25);
}

.upgrade-card.card-emerald {
  border-top: 4px solid #10b981;
}
.upgrade-card.card-emerald:hover {
  border-color: #10b981;
  box-shadow: var(--shadow-md), 0 8px 25px -8px rgba(16, 185, 129, 0.25);
}

.card-blue .upgrade-visual {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
}
.card-purple .upgrade-visual {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border-color: #e9d5ff;
}
.card-emerald .upgrade-visual {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #a7f3d0;
}

.upgrade-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.upgrade-card-header i {
  color: var(--brand-500);
}

/* Custom CSS visual diagrams for B2B upgrades - Enlarged & Polish */
.upgrade-visual {
  height: 180px;
  background-color: var(--bg-main);
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}

/* visual-transfer */
.visual-transfer {
  gap: 1rem;
}
.visual-pane-old, .visual-pane-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.visual-pane-old {
  opacity: 0.55;
}
.visual-node {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #cbd5e1;
  transition: all var(--transition-fast);
}
.visual-node i {
  width: 18px !important;
  height: 18px !important;
}
.visual-node.active {
  background-color: var(--success-50);
  color: var(--success-600);
  border-color: var(--success-200);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.visual-line {
  flex-grow: 1;
  height: 3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.visual-line span {
  position: absolute;
  top: -18px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}
.line-red-dashed {
  border-top: 3.5px dashed var(--danger-500);
}
.line-red-dashed span {
  color: var(--danger-500);
}
.line-green-solid {
  background: linear-gradient(90deg, var(--success-500), var(--success-600));
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.line-green-solid span {
  color: var(--success-600);
}

/* visual-sizing */
.visual-sizing {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem;
}
.border-box {
  width: 46%;
  height: 140px;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.face-mockup {
  position: relative;
  width: 76px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.face-oval {
  width: 48px;
  height: 64px;
  border-radius: 50% / 45%;
  background-color: #cbd5e1;
  position: relative;
}
/* Head outline icon inside */
.face-oval::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background-color: #cbd5e1;
  border-radius: 50%;
}
.size-fail .face-oval {
  transform: scale(0.6) translate(-12px, -8px); /* Too small and offset */
  background-color: #fca5a5;
}
.size-fail .face-oval::after {
  background-color: #fca5a5;
}
.target-crosshair {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  pointer-events: none;
}
.target-crosshair.red {
  border: 1.5px dashed rgba(244, 63, 94, 0.6);
}
.target-crosshair.green {
  border: 2px solid rgba(16, 185, 129, 0.7);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.15);
}
.biometric-lines {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: 2px dashed rgba(16, 185, 129, 0.5);
}
.sizing-tag-fail, .sizing-tag-pass {
  position: absolute;
  bottom: 4px;
  font-size: 0.58rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.sizing-tag-fail {
  background-color: var(--danger-50);
  color: var(--danger-500);
  border: 1px solid rgba(244, 63, 94, 0.1);
}
.sizing-tag-pass {
  background-color: var(--success-50);
  color: var(--success-600);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* visual-background */
.visual-background {
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem;
}
.bg-shadowed, .bg-cleaned {
  width: 46%;
  height: 140px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}
.bg-shadowed {
  background: linear-gradient(135deg, #71717a 0%, #0f172a 100%);
}
.bg-cleaned {
  background-color: white;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.01);
}
.avatar-silhouette {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #cbd5e1;
  position: relative;
  margin-top: -10px;
}
.avatar-silhouette::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 48px;
  background-color: #cbd5e1;
  border-radius: 50% / 40%;
}
.avatar-silhouette.clean {
  background-color: #475569;
}
.avatar-silhouette.clean::after {
  background-color: #475569;
}
.bg-tag-fail, .bg-tag-pass {
  position: absolute;
  bottom: 4px;
  font-size: 0.58rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: var(--shadow-sm);
}
.bg-tag-fail {
  background-color: var(--danger-50);
  color: var(--danger-500);
  border: 1px solid rgba(244, 63, 94, 0.1);
}
.bg-tag-pass {
  background-color: var(--success-50);
  color: var(--success-600);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Bullet list text blocks */
.upgrade-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.bullet-item.old {
  color: var(--color-text-secondary);
}
.bullet-item.new {
  color: var(--color-text-primary);
  font-weight: 550;
}
.bullet-icon-old {
  color: #ef4444;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
}
.bullet-icon-new {
  color: #10b981;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
}

/* --- HOW IT WORKS --- */
#how-it-works {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  position: relative;
}

.timeline-arrow {
  display: flex;
  align-self: start;
  margin-top: 3.5rem;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
  animation: arrow-bounce-x 2s infinite ease-in-out;
  padding: 0;
  z-index: 2;
}

.timeline-arrow i {
  width: 24px;
  height: 24px;
  stroke-width: 2.5px;
}

@keyframes arrow-bounce-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes arrow-bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.timeline-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  z-index: 1;
  overflow: visible; /* Fix circle clipping bug */
}

.timeline-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md), 0 10px 25px -10px var(--brand-glow);
}

.timeline-step {
  position: absolute;
  top: -16px;
  left: 1.75rem;
  width: 32px;
  height: 32px;
  background-color: var(--brand-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-brand);
  z-index: 5;
}

/* Large stylish background step number */
.step-bg-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(99, 102, 241, 0.04);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  transition: color var(--transition-normal);
}

.timeline-card:hover .step-bg-number {
  color: rgba(99, 102, 241, 0.08);
}

.timeline-icon {
  width: 52px;
  height: 52px;
  background-color: var(--brand-50);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal);
}

.timeline-card:hover .timeline-icon {
  transform: scale(1.05) rotate(5deg);
  background-color: var(--brand-600);
  color: white;
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
  position: relative;
  z-index: 2;
}

.timeline-card p {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* /* --- COMPLIANT PROCESSING PIPELINE --- */
.pipeline-section {
  background-color: #ffffff;
  border-top: none;
  border-bottom: none;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.pipeline-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pipeline-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md), 0 10px 25px -10px var(--brand-glow);
}

.pipeline-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--brand-50);
  color: var(--brand-600);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.pipeline-card h4 {
  font-size: 1.25rem;
  color: var(--color-text-primary);
}

.pipeline-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Pipeline visual preview inside each step card */
.pipeline-visual-preview {
  margin-top: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid #cbd5e1;
  overflow: hidden;
  background-color: #f1f5f9;
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.pipeline-visual-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.pipeline-overlay-box {
  position: absolute;
  inset: 0.5rem;
  border: 2px dashed rgba(16, 185, 129, 0.65);
  border-radius: 50% / 40%;
  pointer-events: none;
}

.pipeline-overlay-box::before {
  content: 'Eye alignment';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.6);
  color: var(--success-600);
  font-family: monospace;
  font-size: 0.48rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pipeline-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  padding: 0.25rem;
  width: 90%;
  height: 90%;
  background-color: white;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.pipeline-sheet-cell {
  aspect-ratio: 35/45;
  background-color: #f1f5f9;
  border: 0.5px solid #cbd5e1;
  overflow: hidden;
}

.pipeline-sheet-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pipeline-success-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background-color: var(--success-500);
  color: white;
  font-size: 0.58rem;
  font-weight: 950;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

/* --- PRICING PILL TOGGLE SWITCH --- */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.pricing-toggle-label.active {
  color: var(--color-text-primary);
}

.pricing-toggle-switch {
  width: 58px;
  height: 32px;
  background-color: var(--brand-100);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color var(--transition-normal);
  border: 2px solid transparent;
}

.pricing-toggle-switch:hover {
  background-color: var(--brand-200);
}

.pricing-toggle-switch::after {
  content: '';
  width: 24px;
  height: 24px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-switch.annual::after {
  transform: translateX(26px);
}

.pricing-discount-badge {
  background-color: var(--success-500);
  color: white;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

/* Pricing Grid Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.pricing-card {
  background-color: white;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-xl);
  padding: 3.5rem 2.75rem;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
}

.pricing-card.selected {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-lg), 0 15px 40px -15px var(--brand-glow);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 2.75rem;
  background-color: var(--brand-600);
  color: white;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}

.pricing-badge-success {
  background-color: var(--success-500);
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.pricing-icon {
  width: 48px;
  height: 48px;
  background-color: var(--brand-50);
  color: var(--brand-600);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.pricing-card.selected .pricing-icon {
  background-color: var(--brand-600);
  color: white;
}

.pricing-title h4 {
  font-size: 1.25rem;
  color: var(--color-text-primary);
}

.pricing-title p {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.pricing-rate-box {
  padding: 1.75rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2.25rem;
}

.pricing-rate {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
}

.pricing-period {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.pricing-subtext {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.pricing-feature-item-icon {
  color: var(--success-500);
  font-weight: 900;
}

.pricing-footer-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2.75rem;
}

/* --- FAQS SECTION (STUNNING TWO-COLUMN REDESIGN) --- */
.faq-section {
  background-color: var(--bg-main);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.faq-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4.5rem;
  align-items: start;
}

/* FAQ Info Card (Left Column) */
.faq-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  top: 120px;
}

.faq-info-col h3 {
  font-size: 2.5rem;
  color: var(--color-text-primary);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.faq-info-col p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.faq-help-card {
  background: linear-gradient(135deg, var(--bg-dark), #151f32);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.faq-help-card h5 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-help-card h5 i {
  color: var(--brand-500);
}

.faq-help-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* FAQ Accordion List (Right Column) */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md), 0 4px 15px -5px var(--brand-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.45rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: left;
}

.faq-question-content {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.faq-question-icon {
  color: var(--brand-500);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-answer {
  background-color: white;
  border-top: 0 solid #e2e8f0;
}

.faq-answer-inner {
  padding: 1.45rem 1.75rem;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* Open state styles */
.faq-item.open {
  border-color: var(--brand-500);
  box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.08);
}

.faq-item.open .faq-answer {
  border-top-width: 1px;
}

.faq-icon-chevron {
  transition: transform var(--transition-normal);
  color: var(--color-text-muted);
}

.faq-item.open .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--brand-600);
}

/* --- FOOTER --- */
/* --- FOOTER --- */
footer {
  background: linear-gradient(to bottom, var(--bg-main), #ffffff);
  color: var(--color-text-secondary);
  padding: 5.5rem 0 3.5rem 0;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}

/* Ambient Tech Grid Background Overlay */
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(99, 102, 241, 0.012) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99, 102, 241, 0.012) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  pointer-events: none;
}

/* Glowing Ambient Backlight from Top */
footer::after {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.footer-pre-card-wrapper {
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 10;
}

.footer-pre-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03), 0 4px 15px rgba(99, 102, 241, 0.02);
}

.status-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.status-pulse-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
  animation: status-dot-pulse 2s infinite;
}

@keyframes status-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.status-pulse-text {
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--success-600);
}

.status-stats-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-label {
  color: #64748b;
}

.status-value {
  color: #0f172a;
  font-weight: 700;
}

.status-divider {
  color: #cbd5e1;
  margin: 0 0.25rem;
}

.counter-zap-icon {
  width: 14px;
  height: 14px;
  color: var(--warning-500);
  display: inline-block;
}

.glowing-counter-text {
  color: var(--brand-700);
  font-family: var(--font-heading);
  font-weight: 850;
  text-shadow: none;
}

.status-right {
  flex-shrink: 0;
}

.status-callback-btn {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.status-callback-btn:hover {
  background-color: var(--brand-500);
  border-color: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px -5px rgba(99, 102, 241, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.3fr 1.1fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 10;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.brand-col {
  max-width: 320px;
}

.popia-badge-card {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.15rem 1.35rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.02), 0 8px 16px -6px rgba(99, 102, 241, 0.01);
  transition: all var(--transition-fast);
}

.popia-badge-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.16);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.04);
}

.popia-badge-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  font-weight: 750;
  font-size: 0.82rem;
}

.popia-badge-icon {
  width: 16px;
  height: 16px;
  color: var(--success-600);
}

.popia-badge-body {
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  color: #475569 !important;
  margin: 0 !important;
}

.footer-col h5 {
  color: #0f172a;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #0f172a;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--brand-600);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #475569;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link-btn {
  text-align: left;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 550;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.footer-link-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-200));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link-btn:hover {
  color: var(--brand-600);
}

.footer-link-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  background-color: rgba(99, 102, 241, 0.03);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.footer-contact-item:hover .contact-icon-box {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
  color: white;
  transform: scale(1.05);
}

.contact-icon-box i {
  width: 16px;
  height: 16px;
}

.contact-text-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-meta {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
}

.contact-main-link {
  font-size: 0.88rem;
  font-weight: 650;
  color: #334155;
  transition: color var(--transition-fast);
}

.contact-main-link:hover {
  color: var(--brand-600);
}

.footer-email-copy-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  position: relative;
}

.copy-indicator-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-600);
  transition: all 0.25s ease;
}

.copy-indicator-badge.copied {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--success-600);
}

.copy-indicator-badge i {
  width: 10px;
  height: 10px;
}

.office-hours-item .hours-text {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 550;
}

/* DHA Passport Cheatsheet Card */
.cheatsheet-card {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: var(--border-radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.02), 0 8px 16px -6px rgba(99, 102, 241, 0.01);
  transition: all var(--transition-fast);
}

.cheatsheet-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.16);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.04);
}

.cheatsheet-visual {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.passport-box {
  width: 65px;
  height: 80px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.passport-guidelines {
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(99, 102, 241, 0.25);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eye-line {
  position: absolute;
  top: 40%;
  width: 100%;
  height: 1px;
  background-color: rgba(244, 63, 94, 0.3);
}

.face-ellipse {
  width: 28px;
  height: 38px;
  border: 1px solid var(--brand-500);
  border-radius: 50%;
  background-color: rgba(99, 102, 241, 0.08);
}

.size-indicator {
  position: absolute;
  font-size: 0.55rem;
  font-weight: 800;
  color: #64748b;
  background-color: #e2e8f0;
  padding: 1px 3px;
  border-radius: 2px;
}

.indicator-w {
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
}

.indicator-h {
  right: 1px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.specs-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.specs-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #475569;
  font-weight: 550;
  line-height: 1.3;
}

.spec-dot {
  width: 5px;
  height: 5px;
  background-color: var(--brand-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.cheatsheet-note {
  font-size: 0.68rem !important;
  line-height: 1.45 !important;
  color: #475569 !important;
  margin: 0 !important;
  font-weight: 500;
}

.footer-col p {
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  position: relative;
  z-index: 10;
  color: #64748b;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dev-by-line {
  font-size: 0.72rem;
  color: #475569;
  font-weight: 600;
}

.codeways-link {
  color: var(--brand-600);
  font-weight: 750;
  transition: color var(--transition-fast);
}

.codeways-link:hover {
  color: var(--brand-800);
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  gap: 1.75rem;
}

.footer-bottom-links a:hover {
  color: var(--brand-600);
}

/* --- SCROLL TO TOP FLOATING BUTTON --- */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  z-index: 99;
  transition: all var(--transition-fast);
}
.scroll-top-btn:hover {
  background-color: var(--brand-600);
  border-color: var(--brand-600);
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.4);
}

.scroll-top-btn i {
  width: 18px;
  height: 18px;
}

/* --- WHATSAPP FLOATING WIDGET (PULSING RING) --- */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 10px 20px -5px rgba(37, 211, 102, 0.3);
  z-index: 90;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-widget:hover {
  transform: scale(1.1);
}

.whatsapp-widget svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Pulsing rings effect */
@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 0 0 24px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.whatsapp-pulse-active {
  animation: whatsapp-pulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* --- MOBILE NAVIGATION DRAWER --- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.4s ease, opacity 0.4s ease;
}

.mobile-drawer.active {
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 13, 22, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.drawer-content {
  position: relative;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.75rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.drawer-close {
  padding: 0.5rem;
  color: var(--color-text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background-color: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-600);
  transform: rotate(90deg) scale(1.05);
}

.drawer-menu-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
  display: block;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-primary);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.01);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  transform: translateX(25px);
  opacity: 0;
}

/* Active state stagger */
.mobile-drawer.active .drawer-link {
  transform: translateX(0);
  opacity: 1;
}

.mobile-drawer.active .drawer-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-drawer.active .drawer-link:nth-child(2) { transition-delay: 0.16s; }
.mobile-drawer.active .drawer-link:nth-child(3) { transition-delay: 0.22s; }
.mobile-drawer.active .drawer-link:nth-child(4) { transition-delay: 0.28s; }

.drawer-link:hover, .drawer-link:active {
  background-color: white;
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md), 0 4px 12px -2px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.drawer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.drawer-link:hover::after {
  opacity: 1;
}

.drawer-link-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-fast);
}

.drawer-link:hover .drawer-link-meta {
  transform: translateX(3px);
}

.drawer-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.1);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drawer-link:hover .drawer-link-icon {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.drawer-link > i,
.drawer-link > svg {
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.drawer-link:hover > i,
.drawer-link:hover > svg {
  transform: translateX(4px);
  color: var(--brand-600) !important;
}

.drawer-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-footer-contact {
  background: rgba(99, 102, 241, 0.02);
  border: 1px solid rgba(99, 102, 241, 0.05);
  border-radius: var(--border-radius-md);
  padding: 1.15rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.01);
}

.drawer-footer-contact h6 {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.drawer-footer-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.65rem;
  transition: all var(--transition-fast);
}

.drawer-footer-item:last-child {
  margin-bottom: 0;
}

.drawer-footer-item a {
  font-weight: 600;
  transition: color var(--transition-fast);
}

.drawer-footer-item a:hover {
  color: var(--brand-600);
}

.drawer-footer-item-icon {
  width: 26px;
  height: 26px;
  background-color: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--brand-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.drawer-footer-item:hover .drawer-footer-item-icon {
  background-color: var(--brand-50);
  color: var(--brand-600);
  border-color: var(--brand-100);
  transform: scale(1.05);
}

/* CTA button customization in drawer */
.drawer-footer .btn-primary {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: white;
  box-shadow: 0 10px 25px -8px rgba(99, 102, 241, 0.4);
  border: none;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  z-index: 1;
}

.drawer-footer .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.drawer-footer .btn-primary:hover::before {
  opacity: 1;
}

.drawer-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(99, 102, 241, 0.5);
}

.drawer-footer .btn-primary svg {
  transition: transform var(--transition-fast);
}

.drawer-footer .btn-primary:hover svg {
  transform: translateX(4px);
}

.drawer-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.drawer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.drawer-socials a:hover {
  background-color: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.1);
}

/* --- RESPONSIVENESS OVERRIDES --- */
@media (max-width: 1100px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .hero-bluf-card {
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--brand-600);
    padding-top: 1.5rem;
    margin: 0 auto 2.5rem auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-visual {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
  .sandbox-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .faq-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .faq-info-col {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem 3rem;
  }
  .cheatsheet-col {
    grid-column: span 2;
  }
  .timeline-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .timeline-arrow {
    align-self: center;
    margin-top: 0;
    transform: rotate(90deg);
    animation: arrow-bounce-y 2s infinite ease-in-out;
    padding: 0.5rem 0;
  }
  .upgrade-grid, .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .console-workspace {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .visual-grid-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .websocket-beam {
    display: none;
  }
  .phone-viewport-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-pre-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .status-stats-info {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cheatsheet-col {
    grid-column: span 1;
  }
  .brand-col {
    max-width: 100%;
  }
  .scroll-top-btn {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .pricing-toggle-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .desktop-workspace {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .log-body {
    height: 120px;
    max-height: 120px;
  }
}

/* --- DELIVERY PIPELINE SECTION & SIMULATOR --- */
.delivery-section {
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
              var(--bg-main);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.delivery-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.delivery-bluf-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  width: 100%;
  transition: all var(--transition-normal);
}

.delivery-bluf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -10px rgba(99, 102, 241, 0.12);
}

.delivery-bluf-card p {
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.delivery-bluf-card strong {
  color: var(--color-text-primary);
}

.delivery-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  position: relative;
}

.delivery-steps::before {
  content: '';
  position: absolute;
  left: 43px;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: #cbd5e1;
  opacity: 0.5;
  z-index: 0;
}

.delivery-step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.delivery-step-item:hover {
  transform: translateY(-2px) translateX(4px);
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.05);
}

.delivery-step-item.active {
  background: #ffffff;
  border-color: var(--brand-500);
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.12);
}

.delivery-step-item .step-badge {
  background: #f1f5f9;
  color: #64748b;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s;
  z-index: 2;
}

.delivery-step-item:hover .step-badge {
  transform: scale(1.1);
}

.delivery-step-item.active .step-badge {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.delivery-step-item .step-text h5 {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.delivery-step-item .step-text p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* Delivery Visual Showcase Styles */
.delivery-visual-showcase {
  width: 100%;
  position: relative;
}

.delivery-glow-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.delivery-image-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-image-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 0 35px 70px -15px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.05);
}

.delivery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
}

.delivery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-image-card:hover .delivery-main-img {
  transform: scale(1.03);
}

/* Floating Glassmorphic Tracking Card */
.floating-tracking-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2;
  transition: all 0.3s;
}

.delivery-image-card:hover .floating-tracking-card {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tracking-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tracking-icon-truck {
  width: 16px;
  height: 16px;
  color: var(--brand-600);
}

.tracking-title-group strong {
  font-size: 0.88rem;
  color: #0f172a;
  font-weight: 850;
}

.tracking-status-pill {
  font-size: 0.68rem;
  font-weight: 850;
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tracking-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-bottom: 0.65rem;
}

.tracking-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.tracking-row .label {
  color: #64748b;
  font-weight: 550;
}

.tracking-row .val {
  color: #334155;
  font-weight: 750;
}

/* Shipment Timeline */
.shipment-timeline {
  margin-top: 0.25rem;
}

.timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-nodes::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #cbd5e1;
  z-index: 0;
}

.node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.node-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.node-item.checked .node-dot {
  background-color: #10b981;
}

.node-item.active .node-dot {
  background-color: var(--brand-500);
  position: relative;
}

.node-item.active .node-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand-400);
  animation: pulse-ring 1.5s infinite ease-in-out;
}

.node-label {
  font-size: 0.65rem;
  font-weight: 850;
  color: #64748b;
}

.node-item.checked .node-label {
  color: #10b981;
}

.node-item.active .node-label {
  color: var(--brand-600);
  font-weight: 900;
}

/* Floating Pudo Locker Badge */
.floating-locker-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
  z-index: 2;
  transition: transform 0.3s;
}

.delivery-image-card:hover .floating-locker-badge {
  transform: translateY(-2px);
}

.locker-icon {
  width: 20px;
  height: 20px;
  color: #f59e0b;
}

.locker-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.locker-text strong {
  font-size: 0.82rem;
  color: white;
  font-weight: 850;
}

.locker-text span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

@media (max-width: 1024px) {
  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .clerk-output-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .shipping-options-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* --- PHYSICAL PRINT SHEET MEDIA OVERRIDES (35x45mm Template Sheet) --- */
@media print {
  body {
    background-color: white !important;
    color: black !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Hide all website layouts & controls */
  #app-ui, #whatsapp-widget, header, footer, .toast-container, .mobile-drawer {
    display: none !important;
  }
  
  #print-area {
    display: block !important;
    width: 100vw;
    height: 100vh;
    background-color: white !important;
    padding: 10mm !important;
    box-sizing: border-box !important;
  }
  
  .print-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 35mm) !important;
    gap: 5mm !important;
    justify-content: center !important;
    align-content: start !important;
  }
  
  .print-card {
    width: 35mm !important;
    height: 45mm !important;
    border: 1px solid #cbd5e1 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: white !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  
  .print-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Hidden by default on screen */
#print-area {
  display: none;
}

/* --- LOGIN & REGISTER AUTH MODAL --- */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 13, 22, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(35px) saturate(110%);
  -webkit-backdrop-filter: blur(35px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl), 0 30px 60px -15px rgba(9, 13, 22, 0.3);
  padding: 2.5rem;
  z-index: 10;
  overflow: hidden;
}

.auth-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--color-text-muted);
  background-color: rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.auth-close-btn:hover {
  background-color: rgba(15, 23, 42, 0.08);
  color: var(--color-text-primary);
  transform: scale(1.05);
}

.auth-close-btn i {
  width: 16px;
  height: 16px;
}

.auth-logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo-header .logo-icon {
  margin-bottom: 0.75rem;
}

.auth-logo-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
}

.auth-logo-header p {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

.auth-tabs {
  display: flex;
  background-color: rgba(15, 23, 42, 0.04);
  padding: 0.25rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.02);
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background-color: white;
  color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background-color: white;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.input-icon {
  position: absolute;
  left: 0.95rem;
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.form-helper {
  text-align: right;
}

.form-helper a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-600);
  transition: color var(--transition-fast);
}

.form-helper a:hover {
  color: var(--brand-700);
}

.auth-submit-btn {
  margin-top: 0.5rem;
  position: relative;
}

.btn-spinner, .auth-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spinner-spin 0.6s linear infinite;
}

.auth-spinner {
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--brand-600);
  width: 32px;
  height: 32px;
  margin: 1.5rem auto 0 auto;
}

@keyframes spinner-spin {
  to { transform: rotate(360deg); }
}

.auth-error-banner {
  background-color: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-700);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.auth-footer {
  margin-top: 1.75rem;
  text-align: center;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 1.25rem;
}

.auth-footer p {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
}

.auth-footer p a {
  color: var(--brand-600);
  font-weight: 750;
}

/* Success Screen inside Card */
.auth-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--success-50);
  color: var(--success-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.success-icon-wrapper i {
  width: 36px;
  height: 36px;
}

.auth-success-screen h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.auth-success-screen p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* --- MOBILE DRAWER ANIMATIONS --- */
.drawer-links .drawer-link {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active .drawer-links .drawer-link:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.mobile-drawer.active .drawer-links .drawer-link:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.mobile-drawer.active .drawer-links .drawer-link:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.29s;
}

.mobile-drawer.active .drawer-links .drawer-link:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

.mobile-drawer.active .drawer-footer {
  animation: drawer-fade-up 0.5s ease forwards;
  animation-delay: 0.45s;
  opacity: 0;
}

@keyframes drawer-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- ALPINE.JS TRANSITION UTILITIES --- */
.transition {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.opacity-0 {
  opacity: 0 !important;
}
.opacity-100 {
  opacity: 1 !important;
}
.translate-y-8 {
  transform: translateY(32px) !important;
}
.translate-y-2 {
  transform: translateY(8px) !important;
}
.translate-y-0 {
  transform: translateY(0) !important;
}
.scale-95 {
  transform: scale(0.95) !important;
}
.scale-100 {
  transform: scale(1) !important;
}
.margin-t-2 {
  margin-top: 12px !important;
}
.margin-t-0 {
  margin-top: 0 !important;
}

/* --- CLEAN HERO & DELIVERY IMAGE SHOWCASE --- */
.hero-image-wrapper {
  width: 100%;
  max-width: 680px;
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  position: relative;
  z-index: 10;
  aspect-ratio: 4/3;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 35px 70px -15px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.05);
}

.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-showcase-img {
  transform: scale(1.03);
}

.delivery-visual-wrapper {
  width: 100%;
  position: relative;
}

.delivery-image-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-image-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 0 35px 70px -15px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.05);
}

.delivery-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-image-card:hover .delivery-showcase-img {
  transform: scale(1.03);
}

/* --- WHY FLASH ID CONTENT PAGE STYLES (PREMIUM EDITION) --- */
.content-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.content-toc-sidebar {
  position: relative;
}

.toc-sticky-box {
  position: sticky;
  top: 110px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.08);
  padding: 2rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
  transition: transform var(--transition-normal);
}

.toc-sticky-box h4 {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding-bottom: 0.5rem;
}

.toc-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toc-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.toc-links a i {
  width: 14px;
  height: 14px;
  color: var(--brand-500);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.toc-links a:hover {
  color: var(--brand-600);
  transform: translateX(4px);
}

.toc-links a:hover i {
  transform: scale(1.15);
}

.toc-sublink {
  padding-left: 1.65rem;
  font-size: 0.78rem !important;
  color: var(--color-text-muted) !important;
  font-weight: 600 !important;
}

.toc-cta-card {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, var(--brand-50), rgba(99, 102, 241, 0.02));
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.toc-cta-card h5 {
  font-size: 0.88rem;
  color: var(--brand-900);
  font-weight: 850;
  margin-bottom: 0.25rem;
}

.toc-cta-card p {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

/* Article Styling */
.content-article-body {
  display: flex;
  flex-direction: column;
  gap: 6.5rem;
}

.content-section-block {
  scroll-margin-top: 120px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--brand-600);
  background-color: var(--brand-50);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.04);
}

.article-meta h3 {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.2;
}

/* Premium AEO Highlight Block */
.aeo-answer-block {
  background-color: rgba(99, 102, 241, 0.02);
  border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem 0;
  box-shadow: 0 10px 30px -15px rgba(99, 102, 241, 0.05);
  border-top: 1px solid rgba(99, 102, 241, 0.04);
  border-bottom: 1px solid rgba(99, 102, 241, 0.04);
  border-right: 1px solid rgba(99, 102, 241, 0.04);
}

.featured-snippet-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--brand-900);
}

.content-article-body p {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Comparison lists */
.comparison-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.comp-item {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.comp-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.comp-item.traditional {
  background-color: #fcfcfb;
  border-left: 4px solid var(--color-text-muted);
}

.comp-item.flashid {
  background: linear-gradient(135deg, white, rgba(16, 185, 129, 0.01));
  border-color: rgba(16, 185, 129, 0.15);
  border-left: 4px solid var(--success-500);
}

.comp-item h5 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.comp-item.traditional h5 {
  color: var(--color-text-primary);
}

.comp-item.flashid h5 {
  color: var(--success-700);
}

.comp-item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comp-item li {
  font-size: 0.88rem;
  line-height: 1.55;
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-secondary);
}

.comp-item.traditional li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--danger-500);
  font-weight: 900;
}

.comp-item.flashid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-500);
  font-weight: 900;
}

/* Specifications Grid */
.specs-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.spec-card-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border var(--transition-normal);
  scroll-margin-top: 120px;
  border-left: 4px solid transparent;
}

.spec-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-left-color: var(--brand-500);
}

.spec-card-item .card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--brand-50);
  color: var(--brand-600);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.05);
}

.spec-card-item .card-icon i {
  width: 20px;
  height: 20px;
}

.spec-card-item h4 {
  font-size: 1.05rem;
  color: var(--color-text-primary);
  margin-bottom: 0.45rem;
  font-weight: 850;
}

.spec-card-item p {
  font-size: 0.88rem !important;
  line-height: 1.55;
  margin-bottom: 0 !important;
}

/* POPIA Compliance Box (Secure Dark Theme) */
.popia-compliance-box {
  background: linear-gradient(135deg, var(--bg-dark-card), #1b2433);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 20px 40px -15px rgba(9, 13, 22, 0.4);
}

.compliance-header {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 850;
  color: white;
  margin-bottom: 1.25rem;
}

.compliance-header i {
  width: 20px;
  height: 20px;
  color: var(--success-500);
}

.compliance-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.compliance-bullets li {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}

.compliance-bullets li strong {
  color: white;
}

.compliance-bullets li::before {
  content: '•';
  position: absolute;
  left: 0.35rem;
  color: var(--success-500);
  font-size: 1.25rem;
  top: -0.1rem;
}

/* Printer table styling */
.printer-specs-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 2.5rem 0;
  background: white;
}

.printer-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.printer-specs-table th {
  background-color: var(--bg-main);
  padding: 1.25rem 1.5rem;
  font-weight: 850;
  color: var(--color-text-primary);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.printer-specs-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  color: var(--color-text-secondary);
  vertical-align: middle;
  font-weight: 550;
}

.printer-specs-table tr:hover td {
  background-color: rgba(99, 102, 241, 0.01);
}

.printer-specs-table tr:last-child td {
  border-bottom: none;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 900;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}

.table-badge.recommended {
  background-color: var(--success-50);
  color: var(--success-700);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.table-badge.supported {
  background-color: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.badge-td {
  text-align: right;
}

/* Article Split Grid Layout for illustrations */
.article-split-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.article-image-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg), 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.article-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-image-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: var(--shadow-xl), 0 20px 40px -12px rgba(99, 102, 241, 0.15);
}

.article-image-card:hover img {
  transform: scale(1.02);
}

/* Responsive Styles for why.html */
@media (max-width: 1024px) {
  .content-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .content-toc-sidebar {
    display: none; /* Hide sidebar table of contents on mobile/tablets for simplicity */
  }
}

@media (max-width: 768px) {
  .content-article-body {
    gap: 4.5rem;
  }
  .comparison-list, .specs-grid-layout, .article-split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .article-meta h3 {
    font-size: 1.55rem;
  }
  .spec-card-item {
    padding: 1.5rem;
  }
}

/* --- CENTRALIZED VERTICAL JOURNEY ROADMAP STYLES --- */
.journey-timeline-section {
  position: relative;
  padding: 5rem 0;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 20% 90%, rgba(16, 185, 129, 0.02) 0%, transparent 60%);
}

.journey-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

/* The Main Vertical Road Line */
.journey-road-line {
  position: absolute;
  left: 2.75rem;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-500) 0%, rgba(99, 102, 241, 0.2) 50%, var(--success-500) 100%);
  border-radius: 9999px;
  opacity: 0.65;
  z-index: 1;
}

/* Phase Headers (Sticky & Glassmorphic) */
.journey-phase-divider {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: sticky;
  top: 95px;
  z-index: 30;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  border-radius: var(--border-radius-md);
  margin-left: 0.25rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(99, 102, 241, 0.06);
}

.journey-phase-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.journey-phase-icon i {
  width: 20px;
  height: 20px;
}

.journey-phase-divider h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-900);
  margin-left: 1.25rem;
  letter-spacing: -0.03em;
}

/* Step Node List spacing container */
.journey-steps-group {
  margin-left: 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 5.5rem;
  position: relative;
  z-index: 5;
}

.journey-step-node {
  position: relative;
}

/* Interactive step dot on the line */
.journey-step-dot {
  position: absolute;
  left: -41px; /* Positioned right on the road line */
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: white;
  border: 3.5px solid var(--brand-500);
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.25s, border-color 0.25s;
}

.journey-step-node:hover .journey-step-dot {
  transform: scale(1.4);
  background-color: var(--success-500);
  border-color: var(--success-100);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* Step content card */
.journey-step-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-left-color 0.3s;
  border-left: 4px solid var(--brand-500);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journey-step-node:hover .journey-step-card {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 15px 35px -10px rgba(99, 102, 241, 0.08);
  border-left-color: var(--success-500);
}

.journey-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding-bottom: 0.5rem;
}

.journey-card-header h4 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--color-text-primary);
}

.journey-card-header .step-badge {
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--brand-600);
  background-color: var(--brand-50);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.journey-card-body {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: start;
}

.journey-card-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.journey-card-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  background-color: #f8fafc;
}

.journey-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-step-card:hover .journey-card-visual img {
  transform: scale(1.04);
}

/* Responsive adjustments for the centralized journey timeline */
.why-hero-section {
  padding-top: 11.5rem;
  padding-bottom: 5rem;
}

/* Phase Overview Card inside the Timeline */
.journey-phase-overview-card {
  margin-left: 5rem;
  margin-bottom: 3rem;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-left: 4px solid var(--brand-500);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  background-image: linear-gradient(135deg, white, rgba(99, 102, 241, 0.01));
  position: relative;
  z-index: 5;
}

.journey-phase-overview-card h3.aeo-heading {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.journey-phase-overview-card .featured-snippet-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--brand-900);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding-bottom: 1.25rem;
}

.journey-phase-overview-card .phase-lead-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.journey-supplemental-card {
  position: relative;
  margin-top: 1rem;
  width: 100%;
}

@media (max-width: 768px) {
  .why-hero-section {
    padding-top: 8rem;
    padding-bottom: 3.5rem;
  }
  .journey-timeline-section {
    padding: 3rem 0;
  }
  .journey-container {
    padding: 0 1rem;
  }
  .journey-road-line {
    left: 1.25rem;
  }
  .journey-phase-divider {
    padding: 0.65rem 0.75rem 0.65rem 0.125rem; /* Center icon exactly on the road line */
    top: 72px;
    margin-left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: none;
  }
  .journey-phase-divider h2 {
    font-size: 1.1rem;
    margin-left: 0.75rem;
  }
  .journey-phase-icon {
    width: 40px;
    height: 40px;
    border-width: 2.5px;
  }
  .journey-phase-icon i {
    width: 16px;
    height: 16px;
  }
  .journey-steps-group {
    margin-left: 2.25rem;
    gap: 1.25rem;
    margin-bottom: 3rem;
  }
  .journey-step-dot {
    left: -19px; /* Align dot center at exactly 22px matching the road line */
    top: 25px;
    width: 10px;
    height: 10px;
    border-width: 2.5px;
  }
  .journey-step-card {
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
  }
  .journey-card-header h4 {
    font-size: 1.05rem;
  }
  .journey-card-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .journey-card-visual {
    aspect-ratio: 16/9;
    max-height: 160px;
  }
  .journey-phase-overview-card {
    margin-left: 2.25rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius-md);
  }
  .journey-phase-overview-card h3.aeo-heading {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  .journey-phase-overview-card .featured-snippet-text {
    font-size: 0.95rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .journey-phase-overview-card .phase-lead-text {
    font-size: 0.88rem;
  }
  .comparison-list {
    margin: 1.5rem 0;
    gap: 1.25rem;
  }
  .comp-item {
    padding: 1.25rem;
  }
  .comp-item h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .comp-item li {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .popia-compliance-box {
    padding: 1.25rem;
    margin: 1.5rem 0;
  }
  
  /* Stacking table rows on mobile viewports for clean layout */
  .printer-specs-table-wrapper {
    border: none;
    box-shadow: none;
    margin: 1.5rem 0;
    background: transparent;
  }
  .printer-specs-table, 
  .printer-specs-table thead, 
  .printer-specs-table tbody, 
  .printer-specs-table th, 
  .printer-specs-table td, 
  .printer-specs-table tr { 
    display: block; 
  }
  .printer-specs-table thead {
    display: none;
  }
  .printer-specs-table tr {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
  }
  .printer-specs-table tr:hover td {
    background-color: transparent;
  }
  .printer-specs-table td {
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 550;
  }
  .printer-specs-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .printer-specs-table td:first-child {
    padding-top: 0;
  }
  .printer-specs-table td::before {
    content: attr(data-label);
    font-weight: 850;
    color: var(--color-text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .badge-td {
    text-align: right;
  }
}

/* --- DELIVERY INTERACTIVE SIMULATOR CSS --- */
.delivery-simulator-container {
  width: 100%;
  position: relative;
}

.simulator-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  box-shadow: var(--shadow-xl), 0 30px 60px -15px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulator-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), 0 35px 70px -15px rgba(99, 102, 241, 0.1);
}

.sim-header {
  background: var(--bg-dark);
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sim-header-title i {
  color: #818cf8;
  width: 18px;
  height: 18px;
}

.sim-header-title h4 {
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
}

.sim-status .pulse-dot {
  background-color: var(--success-500);
}

.sim-body {
  padding: 2.25rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sim-screen {
  animation: sim-fade-in 0.35s ease-out forwards;
}

@keyframes sim-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sim-screen-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.sim-screen-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.75rem;
  text-align: center;
  line-height: 1.5;
}

/* Shipping options grid */
.shipping-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.shipping-option-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  background: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.shipping-option-card:hover {
  border-color: var(--brand-300);
  background-color: var(--brand-50);
  transform: translateY(-2px);
}

.shipping-option-card.active {
  border-color: var(--brand-500);
  background: linear-gradient(135deg, white, var(--brand-50));
  box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.15);
}

.shipping-option-card .opt-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.shipping-option-card.active .opt-icon {
  background-color: var(--brand-500);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.shipping-option-card h5 {
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.shipping-option-card p {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.shipping-option-card .select-radio {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shipping-option-card.active .select-radio {
  border-color: var(--brand-500);
}

.shipping-option-card.active .select-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-500);
}

/* Address Autocomplete */
.address-input-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.address-input-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  text-align: left;
}

.address-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.address-input-wrapper i {
  position: absolute;
  left: 1rem;
  color: var(--color-text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.address-input-wrapper input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  background-color: white;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.address-input-wrapper input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* Loader Screen / Quoting / Paying */
.sim-loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.radar-spinner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1.5rem;
}

.radar-spinner::after,
.radar-spinner::before {
  content: '';
  position: absolute;
  border: 2px solid var(--brand-500);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: radar-pulse 2s infinite ease-out;
  opacity: 0;
}

.radar-spinner::before {
  animation-delay: 0.75s;
}

.radar-spinner i {
  color: var(--brand-600);
  width: 32px;
  height: 32px;
  animation: spinner-scale 1.5s infinite ease-in-out;
}

@keyframes radar-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes spinner-scale {
  0%, 100% { transform: scale(0.95); }
  50% { transform: scale(1.1); }
}

.sim-log-console {
  width: 100%;
  background-color: var(--bg-dark);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: #a5b4fc;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 120px;
  text-align: left;
}

.sim-log-line {
  display: flex;
  gap: 0.5rem;
  line-height: 1.4;
  animation: console-reveal 0.2s ease-out forwards;
}

.sim-log-line .ok {
  color: #10b981;
}

.sim-log-line .loader {
  color: var(--warning-500);
}

@keyframes console-reveal {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Checkout Pricing Details */
.pricing-invoice-card {
  background-color: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.invoice-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.invoice-item.total {
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text-primary);
}

.invoice-item.total span:last-child {
  color: var(--brand-600);
}

/* Completed Screen Spool Actions */
.success-banner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--success-50);
  color: var(--success-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.success-banner i {
  width: 32px;
  height: 32px;
}

.shipment-details-box {
  background-color: var(--bg-main);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shipment-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.shipment-detail-row span:first-child {
  color: var(--color-text-secondary);
  font-weight: 550;
}

.shipment-detail-row span:last-child {
  color: var(--color-text-primary);
  font-weight: 750;
}

.clerk-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.clerk-output-grid .btn {
  font-size: 0.82rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.clerk-output-grid .btn.printed {
  background: var(--success-50);
  border-color: var(--success-200);
  color: var(--success-700);
}

.clerk-output-grid .btn.printed i {
  color: var(--success-500);
}

/* --- PREMIUM LOGISTICS DASHBOARD & 3D WAYBILL VISUALS --- */
.hover-3d-perspective {
  perspective: 1200px;
  width: 100%;
  position: relative;
}

.dispatch-dashboard {
  width: 100%;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.5), 
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  color: #f8fafc;
  transform: rotateY(-6deg) rotateX(4deg) translateZ(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.hover-3d-perspective:hover .dispatch-dashboard {
  transform: rotateY(-2deg) rotateX(2deg) translateY(-4px) translateZ(20px);
  box-shadow: 0 50px 100px -20px rgba(99, 102, 241, 0.25), 
              0 0 0 1px rgba(99, 102, 241, 0.2) inset;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-header-title i {
  color: #818cf8;
  width: 16px;
  height: 16px;
}

.dashboard-header-title h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.dashboard-live-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
}

.dashboard-live-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
}

.dashboard-grid-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.active-order-panel {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.order-panel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.order-panel-header h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #f1f5f9;
}

.order-panel-header span {
  font-size: 0.72rem;
  color: #64748b;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.panel-row .label {
  color: #94a3b8;
}

.panel-row .val {
  color: #f1f5f9;
  font-weight: 700;
}

.panel-status-box {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.panel-status-box i {
  color: #818cf8;
  width: 16px;
  height: 16px;
  animation: spinner-scale 2s infinite ease-in-out;
}

.panel-status-box div {
  display: flex;
  flex-direction: column;
}

.panel-status-box strong {
  font-size: 0.78rem;
  color: #f1f5f9;
}

.panel-status-box span {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* Simulated Thermal Waybill Sticker */
.waybill-sticker-wrapper {
  perspective: 800px;
}

.waybill-sticker {
  background-color: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.68rem;
  border: 2px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transform: rotateY(10deg) translateZ(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.hover-3d-perspective:hover .waybill-sticker {
  transform: rotateY(0deg) scale(1.03) translateZ(30px);
}

.waybill-logo {
  font-weight: 900;
  font-size: 0.85rem;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
}

.waybill-logo span:last-child {
  background-color: #0f172a;
  color: white;
  padding: 0 0.25rem;
  border-radius: 2px;
}

.waybill-address-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.waybill-address-block strong {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.simulated-barcode {
  display: flex;
  align-items: stretch;
  height: 38px;
  background-color: transparent;
  gap: 2px;
  margin: 0.25rem 0;
}

.barcode-line {
  background-color: #0f172a;
  flex: 1;
}

.barcode-line.thin { width: 1px; flex: 0.5; }
.barcode-line.thick { width: 4px; flex: 2.5; }
.barcode-line.medium { width: 2.5px; flex: 1.5; }

.waybill-footer {
  text-align: center;
  font-weight: 800;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.4rem;
  font-size: 0.6rem;
  color: #64748b;
}

/* Premium Logistics Features List */
.premium-delivery-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

.premium-delivery-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04),
              0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.premium-delivery-card:hover {
  transform: translateY(-2px) translateX(2px);
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.08);
}

.premium-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.premium-card-icon.blue {
  background: rgba(99, 102, 241, 0.08);
  color: var(--brand-600);
}

.premium-card-icon.emerald {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success-600);
}

.premium-card-icon.purple {
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
}

.premium-card-icon.amber {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
}

.premium-card-text {
  text-align: left;
}

.premium-card-text h5 {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.premium-card-text p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .dashboard-grid-split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .waybill-sticker {
    transform: none;
  }
  .hover-3d-perspective:hover .waybill-sticker {
    transform: scale(1.01);
  }
}

/* --- INTERACTIVE PIPELINE CONSOLE STYLES --- */
.pipeline-console-container {
  width: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.6), 
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  color: #f8fafc;
  margin-top: 2rem;
  overflow: hidden;
}

.pipeline-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.pipeline-step-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  color: #94a3b8;
  outline: none;
}

.pipeline-step-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
  color: #f1f5f9;
}

.pipeline-step-tab.active {
  background: rgba(99, 102, 241, 0.1);
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 0 20px -5px rgba(99, 102, 241, 0.35), 
              0 0 0 1px rgba(99, 102, 241, 0.2) inset;
}

.pipeline-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  transition: all 0.3s;
  flex-shrink: 0;
}

.pipeline-step-tab.active .pipeline-step-icon {
  background: #818cf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.pipeline-step-meta {
  display: flex;
  flex-direction: column;
}

.pipeline-step-num {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.pipeline-step-tab.active .pipeline-step-num {
  color: #a5b4fc;
}

.pipeline-step-name {
  font-size: 0.82rem;
  font-weight: 800;
}

.pipeline-workspace {
  display: grid;
  grid-template-columns: 0.955fr 1.045fr;
  gap: 3rem;
  align-items: center;
  min-height: 420px;
}

.pipeline-details-panel {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pipeline-benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.pipeline-details-panel h4 {
  font-size: 1.85rem;
  font-weight: 850;
  line-height: 1.25;
  color: #ffffff;
}

.pipeline-details-panel p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.pipeline-feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.25rem 0 0.5rem 0;
}

.pipeline-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.pipeline-bullet i {
  color: #818cf8;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pipeline-mockup-panel {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* --- MOCKUP 1: CAPTURE SCREEN (MOBILE) --- */
.mock-phone {
  width: 240px;
  height: 360px;
  background: #090d16;
  border: 10px solid #1e293b;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.mock-phone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background: #1e293b;
  border-radius: 9999px;
  z-index: 10;
}

.mock-phone-screen {
  padding: 1.25rem 0.85rem 0.85rem 0.85rem;
  color: #f8fafc;
  font-size: 0.72rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.55rem;
  color: #475569;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.35rem;
  margin-top: 0.25rem;
}

.mock-phone-photo-preview {
  height: 90px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mock-phone-photo-overlay {
  border: 1.5px solid #10b981;
  width: 48px;
  height: 60px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.mock-phone-photo-overlay i {
  color: #10b981;
  width: 16px;
  height: 16px;
}

.mock-phone-address-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.mock-phone-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.02em;
}

.mock-phone-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.45rem;
  color: #ffffff;
  font-size: 0.68rem;
}

.mock-phone-dropdown {
  background: #0b1329;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.mock-phone-dropdown-item {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  font-size: 0.65rem;
}

.mock-phone-dropdown-item i {
  color: #818cf8;
  width: 10px;
  height: 10px;
}

.mock-phone-dropdown-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
}

.mock-phone-btn {
  background: #818cf8;
  color: #ffffff;
  padding: 0.45rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 800;
  font-size: 0.68rem;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}


/* --- MOCKUP 2: SPLIT SETTLEMENT LEDGER --- */
.mock-split-pay {
  width: 270px;
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #f1f5f9;
  text-align: left;
}

.mock-receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.65rem;
}

.mock-receipt-title {
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.mock-receipt-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
}

.mock-split-flow {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-split-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.68rem;
  transition: all 0.3s;
}

.mock-split-node .node-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-split-node .node-info i {
  width: 14px;
  height: 14px;
}

.mock-split-node .node-val {
  font-weight: 800;
}

.mock-split-node.success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.03);
}

.mock-split-node.active {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.05);
}

.mock-split-node.success .node-info i { color: #10b981; }
.mock-split-node.active .node-info i { color: #818cf8; }

.mock-split-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.15rem 0;
  color: #475569;
}

.mock-split-arrow i {
  width: 12px;
  height: 12px;
  animation: bounce-vertical 1.5s infinite;
}


/* --- MOCKUP 3: WAYBILL SPOOL QUEUE --- */
.mock-spool-printer {
  width: 280px;
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.mock-spool-queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.mock-spool-queue-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-spool-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-spool-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.65rem;
}

.mock-spool-item .item-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mock-spool-item .item-meta i {
  width: 12px;
  height: 12px;
  color: #818cf8;
}

.mock-spool-item .status {
  color: #10b981;
  font-weight: 800;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.mock-spool-item.printing .status {
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.mock-spool-item.printing .status span {
  width: 4px;
  height: 4px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse-glow 1s infinite alternate;
}

.mock-waybill-spool-sticker {
  background: #ffffff;
  color: #0f172a;
  padding: 0.75rem;
  border-radius: 8px;
  border: 2px dashed #cbd5e1;
  font-family: monospace;
  font-size: 0.6rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mock-waybill-spool-sticker .logo {
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #0f172a;
  padding-bottom: 0.15rem;
}

.mock-waybill-spool-sticker .barcode {
  display: flex;
  gap: 2px;
  height: 22px;
  align-items: stretch;
  margin: 0.15rem 0;
}

.mock-waybill-spool-sticker .barcode-bar {
  background: #0f172a;
  flex: 1;
}

.mock-waybill-spool-sticker .barcode-bar.thin { flex: 0.5; }
.mock-waybill-spool-sticker .barcode-bar.thick { flex: 3; }


/* --- MOCKUP 4: LOGISTICS TRACKING --- */
.mock-tracking-timeline {
  width: 280px;
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.mock-tracking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.mock-tracking-header span {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
}

.mock-tracking-status-badge {
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mock-tracking-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding-left: 1.25rem;
}

.mock-tracking-steps::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.mock-tracking-step-line-active {
  position: absolute;
  left: 4px;
  top: 4px;
  height: 60%;
  width: 2px;
  background: #818cf8;
  box-shadow: 0 0 6px #818cf8;
}

.mock-tracking-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.65rem;
}

.mock-tracking-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #334155;
  z-index: 2;
  transition: all 0.3s;
}

.mock-tracking-item.done::before {
  background: #10b981;
  border-color: #111a2e;
}

.mock-tracking-item.active::before {
  background: #818cf8;
  border-color: #111a2e;
  box-shadow: 0 0 8px #818cf8;
}

.mock-tracking-item .title {
  color: #64748b;
  font-weight: 700;
}

.mock-tracking-item.active .title {
  color: #ffffff;
  font-weight: 800;
}

.mock-tracking-item.done .title {
  color: #e2e8f0;
}

.mock-tracking-item .time {
  font-size: 0.58rem;
  color: #475569;
}

.mock-tracking-item.active .time {
  color: #818cf8;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes bounce-vertical {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .pipeline-workspace {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pipeline-stepper {
    overflow-x: auto;
    white-space: nowrap;
    grid-template-columns: repeat(4, 200px);
    padding-bottom: 1rem;
  }
}

/* --- PREMIUM B2B DESIGN SYSTEM UTILITIES --- */
.b2b-bg-grid {
  background-image: 
    radial-gradient(circle at 10% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
}

.b2b-glow-card {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(99, 102, 241, 0.12) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.b2b-glow-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2), var(--shadow-lg) !important;
}

.b2b-glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 10;
}

.b2b-glow-card:hover::before {
  opacity: 1;
}

.glow-text-highlight {
  color: var(--brand-600);
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
}

.glass-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(99, 102, 241, 0.06) !important;
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  color: var(--brand-700) !important;
  border-radius: 9999px !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-shadow: var(--shadow-sm) !important;
}

.glass-pill-badge-emerald {
  background: rgba(16, 185, 129, 0.06) !important;
  border-color: rgba(16, 185, 129, 0.15) !important;
  color: var(--success-700) !important;
}



