/* ================================================================
   SHIPKIA — Complete Design System
   Production-Ready CSS with Light/Dark Theme Support
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES — LIGHT THEME (DEFAULT)
   ---------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-body: #FAFBFE;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-elevated: #FFFFFF;

  /* Text */
  --text-heading: #0F172A;
  --text-body: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border: #E2E8F0;
  --border-hover: #CBD5E1;

  /* Cards & Glass */
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(226, 232, 240, 0.5);

  /* Brand Palette */
  --primary: #6366F1;
  --primary-rgb: 99, 102, 241;
  --primary-hover: #4F46E5;
  --primary-light: #EEF2FF;
  --primary-dark: #312E81;
  --accent-blue: #0062FF;
  --accent-cyan: #00F2FE;
  --accent-violet: #A855F7;
  --accent-pink: #EC4899;
  --accent-yellow: #F59E0B;
  --accent-green: #10B981;
  --accent-red: #EF4444;

  /* ShipKia Blue — the real product/dashboard's accent color (#1351D8).
     Reserved for dashboard-style infographics (floating widgets, the
     slider mockup, integration/NDR cards) so they read as "pulled
     directly from the software panel" — kept separate from --primary
     (the marketing site's own indigo/violet brand gradient) so the
     rest of the site's identity is untouched. */
  --dash-accent: #1351D8;
  --dash-accent-rgb: 19, 81, 216;
  --dash-accent-light: #EAF0FD;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #6366F1 0%, #A855F7 50%, #EC4899 100%);
  --gradient-blue: linear-gradient(135deg, #0062FF 0%, #00F2FE 100%);
  --gradient-cta: linear-gradient(135deg, #6366F1 0%, #A855F7 35%, #EC4899 65%, #F59E0B 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(168,85,247,0.06) 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-primary: 0 10px 30px -5px rgba(99, 102, 241, 0.3);

  /* Header */
  --header-bg: rgba(255, 255, 255, 0.82);
  --header-border: rgba(226, 232, 240, 0.6);

  /* Fade masks */
  --fade-start: rgba(250, 251, 254, 1);
  --fade-end: rgba(250, 251, 254, 0);

  /* Dot pattern */
  --dot-color: rgba(99, 102, 241, 0.07);

  /* NDR workflow connector */
  --connector-color: #E2E8F0;

  /* Dashboard mock */
  --dash-sidebar: #F8FAFC;
  --dash-topbar: #FFFFFF;
}

/* ----------------------------------------------------------------
   2. DARK THEME OVERRIDES
   ---------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-body: #0B0F1A;
  --bg-primary: #111827;
  --bg-secondary: #1E293B;
  --bg-tertiary: #283548;
  --bg-elevated: #1E293B;

  --text-heading: #F1F5F9;
  --text-body: #CBD5E1;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --border: #1E293B;
  --border-hover: #334155;

  --card-bg: #1E293B;
  --card-border: #334155;
  --glass-bg: rgba(11, 15, 26, 0.85);
  --glass-border: rgba(51, 65, 85, 0.4);

  --primary-light: #1E1B4B;
  --dash-accent-light: #16264D;
  --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(168,85,247,0.08) 100%);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  --shadow-primary: 0 10px 30px -5px rgba(99, 102, 241, 0.35);

  --header-bg: rgba(11, 15, 26, 0.88);
  --header-border: rgba(30, 41, 59, 0.6);

  --fade-start: rgba(11, 15, 26, 1);
  --fade-end: rgba(11, 15, 26, 0);

  --dot-color: rgba(99, 102, 241, 0.04);
  --connector-color: #334155;

  --dash-sidebar: #111827;
  --dash-topbar: #1E293B;
}

/* ----------------------------------------------------------------
   3. BASE & RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container-xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section base */
.section-padding { padding: 100px 0; }
.section-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.section-subtext {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.65;
}
.gradient-text {
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerGradient 6s linear infinite;
}

/* Dot grid background */
.dot-grid-bg {
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Reveal animation base */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

/* ----------------------------------------------------------------
   4. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.sk-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.sk-header.scrolled {
  box-shadow: var(--shadow-md);
}

.sk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.sk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  transition: transform 0.3s ease;
}
.sk-logo:hover { transform: translateY(-2px); }
.sk-logo-icon {
  font-size: 1.6rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sk-nav-links {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 8px;
}
.sk-nav-link {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  border-radius: 8px;
  transition: all 0.25s ease;
}
.sk-nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.sk-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-body);
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark,
:root .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }

/* CTA Buttons */
.btn-outline {
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-heading);
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-gradient {
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.4);
}

/* Hamburger */
.sk-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-heading);
}

/* ----------------------------------------------------------------
   5. MEGA MENU
   ---------------------------------------------------------------- */
.has-mega-menu {
  position: static;
  /* Stretch the trigger <li> to the full header height so its hoverable
     box is flush against the dropdown's top edge — with no gap, the
     mouse never leaves hoverable territory while moving from the
     trigger down into the panel. */
  align-self: stretch;
  display: flex;
  align-items: center;
}
.mega-menu-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mega-menu-trigger .caret {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}
.has-mega-menu:hover .caret { transform: rotate(180deg); }

.sk-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  /* Hide (visibility) only after the fade-out finishes, so the panel
     stays hit-testable for the full opacity transition instead of
     losing pointer-events the instant hover ends. */
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.28s;
  pointer-events: none;
  z-index: 990;
}
.sk-mega-menu::before {
  /* Invisible bridge: safety net that keeps the trigger-to-panel hover
     path unbroken even if header spacing ever changes. */
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}
.has-mega-menu:hover .sk-mega-menu,
.has-mega-menu:focus-within .sk-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  gap: 36px;
}
.mega-links-grid {
  flex: 2.2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mega-link-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.mega-link-item:hover {
  background: var(--bg-secondary);
  border-color: var(--border);
}
.mega-link-item.active {
  background: var(--primary-light);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.mega-link-item.active .mega-link-icon {
  background: var(--gradient-brand);
  color: #FFFFFF;
}
.mega-link-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.mega-link-item:hover .mega-link-icon {
  background: var(--gradient-brand);
  color: #FFFFFF;
}
.mega-link-title {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.mega-link-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.mega-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  margin-left: 8px;
  vertical-align: middle;
}

.mega-promo {
  flex: 1;
  background: var(--gradient-subtle);
  border: 1.5px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 18px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mega-promo-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.mega-promo h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.mega-promo p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0 0 22px 0;
}
.mega-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: #FFFFFF;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 650;
  width: max-content;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-primary);
}
.mega-promo-btn:hover { gap: 14px; color: #FFFFFF; }

/* ----------------------------------------------------------------
   6. MOBILE DRAWER
   ---------------------------------------------------------------- */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(4px);
}
.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--bg-primary);
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}
.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-body);
  transition: all 0.2s ease;
}
.drawer-close:hover {
  background: var(--accent-red);
  color: #FFF;
  border-color: var(--accent-red);
}

.drawer-nav {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-link {
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.drawer-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.drawer-cta {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ----------------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
  background: var(--bg-body);
}

/* Floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: orbFloat 16s ease-in-out infinite alternate;
}
.orb-1 {
  width: 500px; height: 500px;
  background: #6366F1;
  top: -120px; left: -80px;
}
.orb-2 {
  width: 550px; height: 550px;
  background: #EC4899;
  bottom: -150px; right: -100px;
  animation-delay: -5s;
}
.orb-3 {
  width: 380px; height: 380px;
  background: #00F2FE;
  top: 35%; right: 20%;
  animation-delay: -10s;
  opacity: 0.1;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 60px) scale(1.1); }
}

[data-theme="dark"] .orb { opacity: 0.12; }

/* Hero grid */
.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-left,
.hero-right {
  min-width: 0;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero-badge i { font-size: 1.05rem; }

/* Headline */
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 3.6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 92%;
  margin-bottom: 28px;
}

/* Metrics cards */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}
.metric-value.yellow { color: var(--accent-yellow); }
.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Marquee */
.marquee-wrapper {
  padding: 8px 0;
  width: 100%;
}
.marquee-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.marquee-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.3s ease;
}
.brand-pill:hover { border-color: var(--primary); }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   8. HERO FORM CARD
   ---------------------------------------------------------------- */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--primary);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
}

.form-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.win-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.win-dot.r { background: #EF4444; }
.win-dot.y { background: #F59E0B; }
.win-dot.g { background: #10B981; }
.form-window-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 auto;
}

.form-body {
  padding: 24px;
}
.form-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.form-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.sk-form { display: flex; flex-direction: column; gap: 14px; }

.input-group { position: relative; width: 100%; }
.input-row { display: flex; gap: 10px; }
.input-row .input-group { flex: 1; }

.sk-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-heading);
  outline: none;
  transition: all 0.3s ease;
  -webkit-appearance: none;
}
.sk-input::placeholder { color: var(--text-muted); }
.sk-input:focus {
  background: var(--bg-primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}
.sk-input:focus ~ .input-icon,
.sk-input:focus + .input-icon { color: var(--primary); }
/* Also handle the sibling order where icon is before input */
.input-group:focus-within .input-icon { color: var(--primary); }

.input-error {
  font-size: 0.72rem;
  color: var(--accent-red);
  margin-top: 4px;
  display: none;
}
.input-group.error .input-error { display: block; }
.input-group.error .sk-input { border-color: var(--accent-red); }

.btn-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s ease;
  margin-top: 4px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px -5px rgba(99, 102, 241, 0.45);
}
.btn-submit:hover .btn-arrow { transform: translateX(5px); }
.btn-arrow { transition: transform 0.3s ease; }

.form-response {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ----------------------------------------------------------------
   9. TESTIMONIALS / LOGO WALL
   ---------------------------------------------------------------- */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }

.testimonial-logo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}
.testimonial-logo-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.testimonial-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.testimonial-brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
}
.testimonial-brand-cat {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Second row - reverse direction */
.testimonials-track-reverse {
  animation-direction: reverse;
  margin-top: 20px;
}

/* ----------------------------------------------------------------
   10. NDR MANAGEMENT SECTION
   ---------------------------------------------------------------- */
.ndr-section {
  padding: 100px 0;
  background: var(--bg-body);
  position: relative;
}
.ndr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ndr-workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.ndr-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  position: relative;
}
.ndr-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.ndr-step-dot {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #FFFFFF;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.ndr-step-line {
  width: 2px;
  height: 100%;
  min-height: 30px;
  background: var(--connector-color);
  flex-grow: 1;
}
.ndr-step:last-child .ndr-step-line { display: none; }

.ndr-step-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 6px 0;
}
.ndr-step-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

.ndr-result-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.ndr-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.ndr-stat {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.ndr-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.ndr-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   11. INTEGRATIONS SECTION
   ---------------------------------------------------------------- */
.integrations-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.integration-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.integration-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 16px;
}
.integration-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.integration-card:hover::before { opacity: 0.04; }
.integration-card-inner { position: relative; z-index: 2; }

.integration-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  transition: transform 0.3s ease;
}
.integration-card:hover .integration-icon { transform: scale(1.1); }
.integration-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.integration-type {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------------------
   12. COD REMITTANCE SECTION
   ---------------------------------------------------------------- */
.cod-section {
  padding: 100px 0;
  background: var(--bg-body);
  position: relative;
}
.cod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cod-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.cod-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.cod-feature-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}
.cod-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cod-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
}
.cod-feature-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

.cod-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cod-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cod-preview-body {
  padding: 24px;
}
.cod-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cod-ledger-row:last-child { border-bottom: none; }
.cod-ledger-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.cod-ledger-amount {
  font-weight: 700;
  color: var(--accent-green);
  font-size: 0.95rem;
}
.cod-trust-badges {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.cod-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   13. FEATURES GRID
   ---------------------------------------------------------------- */
.features-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px 26px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-glow);
}
.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon-box { transform: scale(1.1) rotate(-3deg); }
.feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   14. DASHBOARD PREVIEW
   ---------------------------------------------------------------- */
.dashboard-section {
  padding: 100px 0;
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
}
.dashboard-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 48px;
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--dash-topbar);
  border-bottom: 1px solid var(--border);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-search {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  margin-left: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  gap: 6px;
}

.dash-body {
  display: flex;
  min-height: 380px;
}
.dash-sidebar {
  width: 200px;
  background: var(--dash-sidebar);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  flex-shrink: 0;
}
.dash-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.dash-sidebar-item.active {
  color: var(--dash-accent);
  background: var(--dash-accent-light);
  border-right: 3px solid var(--dash-accent);
}

.dash-content {
  flex: 1;
  padding: 24px;
}
.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dash-stat-card {
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}
.dash-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dash-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
}

.dash-chart-area {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.dash-chart-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 18px;
}
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
}
.dash-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  transition: all 0.3s ease;
  min-width: 20px;
  position: relative;
}
.dash-bar:hover { opacity: 0.85; filter: brightness(1.1); }
.dash-bar-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   15. SUPPORT SECTION
   ---------------------------------------------------------------- */
.support-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.support-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s ease;
}
.support-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--primary-rgb), 0.3);
}
.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 22px;
  transition: transform 0.3s ease;
}
.support-card:hover .support-icon { transform: scale(1.1); }
.support-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.support-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--primary);
  transition: gap 0.3s ease;
}
.support-link:hover { gap: 10px; }

/* ----------------------------------------------------------------
   16. CTA BANNER
   ---------------------------------------------------------------- */
.cta-section {
  padding: 100px 0;
  background: var(--bg-body);
}
.cta-banner {
  background: var(--gradient-cta);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.cta-content { position: relative; z-index: 2; }
.cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #FFFFFF;
  color: #6366F1;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}
.cta-btn:hover .cta-arrow { transform: translateX(5px); }
.cta-arrow { transition: transform 0.3s ease; }

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
.sk-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand-col .sk-logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-contact-block { margin: 18px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-block .office-meta { align-items: flex-start; margin-bottom: 0; }
.footer-contact-block .office-meta i { margin-top: 2px; }

.footer-socials {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-body);
  transition: all 0.3s ease;
}
.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  font-size: 0.88rem;
  color: var(--text-body);
  transition: all 0.25s ease;
}
.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

/* ----------------------------------------------------------------
   18. ANIMATIONS
   ---------------------------------------------------------------- */
@keyframes shimmerGradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

/* ----------------------------------------------------------------
   19. RESPONSIVE — TABLET (max 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-right {
    display: flex;
    justify-content: center;
  }
  .form-card { max-width: 480px; }
  .hero-left { text-align: center; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .ndr-grid,
  .cod-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .dash-sidebar { display: none; }
  .dash-stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------
   20. RESPONSIVE — MOBILE (max 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .container-xl { padding: 0 16px; }

  .sk-nav-links,
  .sk-nav-right .btn-outline,
  .sk-nav-right .btn-gradient { display: none; }
  .sk-hamburger { display: flex; }

  .hero-section {
    min-height: auto;
    padding: 100px 0 50px;
  }
  .hero-title { letter-spacing: -1px; }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .metric-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-banner { padding: 48px 24px; border-radius: 18px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-badges { flex-wrap: wrap; justify-content: center; }

  .input-row { flex-direction: column; gap: 14px; }

  .dash-stat-row { grid-template-columns: 1fr; }
  .dash-bars { gap: 4px; height: 100px; }
}

/* ----------------------------------------------------------------
   21. PREFERS REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track,
  .testimonials-track { animation: none !important; }
}

/* ----------------------------------------------------------------
   22. SCROLLBAR STYLING
   ---------------------------------------------------------------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Lenis smooth scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ----------------------------------------------------------------
   23. ACTIVE NAV LINK (multi-page)
   ---------------------------------------------------------------- */
.sk-nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.drawer-link.active { color: var(--primary); }

/* ----------------------------------------------------------------
   24. GENERIC PAGE HERO (inner pages)
   ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 156px 0 70px;
  overflow: hidden;
  background: var(--bg-body);
}
.page-hero .container-xl { position: relative; z-index: 10; }
.page-hero-center { text-align: center; }
.page-hero-center .page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 16px 0 18px;
}
.page-hero-desc { font-size: 1.05rem; color: var(--text-body); line-height: 1.7; margin: 0; }
.page-hero-center .page-hero-desc { max-width: 620px; margin-left: auto; margin-right: auto; }
.page-hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.page-hero-center .page-hero-actions { justify-content: center; }

/* Split variant: text left, visual right — mirrors the homepage hero-grid */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero-grid > * { min-width: 0; }

/* Flexible-column stat band — pairs with the existing .metric-card */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ----------------------------------------------------------------
   25. FAQ ACCORDION
   ---------------------------------------------------------------- */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading);
}
.faq-icon { flex-shrink: 0; font-size: 1.1rem; color: var(--primary); transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(135deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  padding: 0 24px;
}
.faq-answer-inner { overflow: hidden; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; padding-bottom: 4px; }
.faq-answer-inner p { margin: 0 0 20px; font-size: 0.92rem; line-height: 1.7; color: var(--text-body); }

/* ----------------------------------------------------------------
   26. TRACKING TIMELINE + EXCEPTION CARD
   ---------------------------------------------------------------- */
.tracking-timeline { display: flex; flex-direction: column; }
.timeline-step { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--connector-color);
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 2px solid var(--border);
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}
.timeline-step.completed .timeline-dot { background: var(--accent-green); border-color: var(--accent-green); color: #FFFFFF; }
.timeline-step.completed::before { background: var(--accent-green); }
.timeline-step.active .timeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.15);
  animation: pulse 2s ease-in-out infinite;
}
.timeline-step.exception .timeline-dot { background: var(--accent-red); border-color: var(--accent-red); color: #FFFFFF; }
.timeline-step.exception::before { background: var(--accent-red); }
.timeline-content { padding-top: 6px; }
.timeline-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.98rem; color: var(--text-heading); margin-bottom: 4px; }
.timeline-step:not(.completed):not(.active):not(.exception) .timeline-title { color: var(--text-muted); }
.timeline-time { font-size: 0.8rem; color: var(--text-muted); }
.timeline-desc { font-size: 0.85rem; color: var(--text-body); margin-top: 6px; line-height: 1.6; max-width: 440px; }

.exception-card {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  padding: 24px;
  margin-top: 12px;
}
[data-theme="dark"] .exception-card { background: rgba(239, 68, 68, 0.1); }
.exception-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.exception-card p { margin: 0; font-size: 0.88rem; color: var(--text-body); line-height: 1.6; }
.exception-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   27. TRACKING SEARCH BOX
   ---------------------------------------------------------------- */
.tracking-search-box { max-width: 640px; margin: 0 auto; }
.tracking-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-md);
}
.tracking-search-icon { color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }
.tracking-search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-size: 0.98rem;
  color: var(--text-heading);
  padding: 12px 0;
  font-family: inherit;
}
.tracking-search-form input::placeholder { color: var(--text-muted); }
.tracking-search-form .btn-gradient { padding: 12px 26px; white-space: nowrap; border: none; }
.tracking-search-box .input-error { text-align: center; margin-top: 10px; font-size: 0.8rem; }
#trackingResult { display: none; }
#trackingResult.active { display: block; }
#trackingEmpty.hidden { display: none; }

/* ----------------------------------------------------------------
   28. RATE COMPARISON MOCKUP
   ---------------------------------------------------------------- */
.rate-compare-header { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rate-compare-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.rate-compare-row:last-child { border-bottom: none; }
.rate-compare-name { width: 140px; flex-shrink: 0; font-size: 0.85rem; font-weight: 700; color: var(--text-heading); display: flex; align-items: center; gap: 8px; }
.rate-compare-track { flex: 1; min-width: 0; height: 10px; border-radius: 6px; background: var(--bg-tertiary); overflow: hidden; }
.rate-compare-bar { height: 100%; border-radius: 6px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.rate-compare-price { width: 70px; flex-shrink: 0; text-align: right; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--text-heading); }
.rate-compare-badge { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: var(--accent-green); color: #FFFFFF; margin-left: 8px; white-space: nowrap; }
@media (max-width: 560px) {
  .rate-compare-name { width: 96px; font-size: 0.76rem; }
  .rate-compare-price { width: 54px; font-size: 0.85rem; }
}

/* ----------------------------------------------------------------
   29. TEAM / LEADERSHIP GRID
   ---------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 20px;
  transition: all 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #FFFFFF;
}
.team-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text-heading); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   30. OFFICE LOCATION CARDS
   ---------------------------------------------------------------- */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s ease;
}
.office-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.office-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.office-city { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text-heading); margin-bottom: 8px; }
.office-address { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 14px; }
.office-meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.office-meta i { flex-shrink: 0; color: var(--primary); }
@media (max-width: 768px) { .office-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   31. LEGAL PAGE LAYOUT (sticky table of contents)
   ---------------------------------------------------------------- */
.legal-hero { padding: 150px 0 50px; text-align: center; background: var(--bg-body); }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }
.legal-section { padding: 20px 0 100px; background: var(--bg-body); }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-layout > * { min-width: 0; }
.legal-sidebar { position: sticky; top: 96px; }
.legal-toc {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.legal-toc-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 10px; padding: 0 10px; }
.legal-toc-link { padding: 9px 10px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-body); transition: all 0.2s ease; }
.legal-toc-link:hover { background: var(--bg-secondary); color: var(--primary); }
.legal-toc-link.active { background: var(--primary-light); color: var(--primary); }
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 40px 0 16px;
  scroll-margin-top: 96px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin: 28px 0 12px; }
.legal-content p { font-size: 0.95rem; line-height: 1.8; color: var(--text-body); margin: 0 0 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { font-size: 0.95rem; line-height: 1.8; color: var(--text-body); margin-bottom: 8px; }
.legal-content strong { color: var(--text-heading); }
.legal-content a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(var(--primary-rgb), 0.3); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.legal-content th, .legal-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.legal-content thead th { background: var(--bg-secondary); font-weight: 700; color: var(--text-heading); }
.legal-content tbody tr:last-child td { border-bottom: none; }
.legal-content tbody tr:hover { background: var(--bg-secondary); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-sidebar { position: static; }
  .legal-toc { max-height: none; }
}

/* ----------------------------------------------------------------
   32. MINI PILLS (compact badges for floating widgets, slide chrome)
   ---------------------------------------------------------------- */
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-pill, 999px);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--bg-secondary);
  color: var(--text-muted);
}
.mini-pill i { font-size: 10px; }
.mini-pill-success { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.mini-pill-primary { background: var(--dash-accent-light); color: var(--dash-accent); }
.mini-pill-danger { background: rgba(239, 68, 68, 0.12); color: var(--accent-red); }

/* ----------------------------------------------------------------
   33. HERO — FLOATING WIDGETS ON THE FORM
   Attached to .form-shell (a plain, non-clipping wrapper around
   .form-card) so they can hang off the card's outer edges/corners.
   .form-card itself keeps overflow:hidden (needed to clip the
   window-bar's square corners to the card's rounded ones), which is
   exactly why these are NOT children of .form-card — they'd be cut
   off. Each widget is confined to a non-interactive zone of the card
   (above the window-bar, or the empty padding strip below the submit
   button) and double-insured with pointer-events:none, so even a
   pixel of mis-measurement can't block a click on a real field.
   ---------------------------------------------------------------- */
.form-shell { position: relative; width: 100%; max-width: 440px; }

.form-widget {
  position: absolute;
  z-index: 20;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  /* Fade-in (opacity) and bob (transform) touch different properties, so
     they never fight even though they overlap in time. */
  animation: formWidgetFadeIn 0.6s ease forwards, formWidgetBob 5s ease-in-out infinite;
}

/* Top-left, hanging mostly above the card — dips only into the
   window-bar strip (title bar, no inputs there). */
.form-widget-wallet {
  top: -28px;
  left: 20px;
  animation-delay: 0.9s, 0.9s;
}
.form-widget-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.pulse-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseRing 2s ease-out infinite;
}
.form-widget-label { font-size: 10.5px; font-weight: 650; color: var(--text-muted); margin-bottom: 2px; white-space: nowrap; }
.form-widget-value { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 800; color: var(--text-heading); white-space: nowrap; }

/* Top-right, same safe "above the card" zone as the wallet widget. */
.form-widget-channel {
  top: -20px;
  right: 16px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-heading);
  animation-delay: 1.1s, 1.1s;
}
.form-channel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.form-channel-active {
  font-size: 10px;
  font-weight: 750;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Bottom-left corner, hanging mostly below the card — only dips into
   the empty padding strip under the submit button, never the button
   itself (exact offset verified against the real rendered layout). */
.form-widget-ndr {
  bottom: -128px;
  left: 20px;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  width: 190px;
  overflow: hidden;
  animation-delay: 1.3s, 1.3s;
}
.form-widget-ndr-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 750;
  color: var(--dash-accent);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-widget-ndr-head i { font-size: 12px; }
.form-ndr-track {
  height: 66px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.form-ndr-track > div { animation: ndrTickerScroll 9s linear infinite; }
.form-ndr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}
.form-ndr-id { font-size: 11px; font-weight: 700; color: var(--text-heading); }

@keyframes formWidgetFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes formWidgetBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes ndrTickerScroll {
  0% { transform: translateY(0); }
  45%, 55% { transform: translateY(-33.333%); }
  100% { transform: translateY(-66.666%); }
}

@media (max-width: 1180px) {
  .form-widget-channel { display: none; }
}
@media (max-width: 900px) {
  .form-widget { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .form-widget { animation: none; }
  .form-ndr-track > div { animation: none; }
}

/* ----------------------------------------------------------------
   33b. GLOBAL CTA MODAL
   ---------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--primary);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-card { transition: none; }
}

/* ----------------------------------------------------------------
   34. DASHBOARD PREVIEW SLIDER (8-slide laptop mockup carousel)
   ---------------------------------------------------------------- */
.dashboard-slider-section { position: relative; overflow: hidden; }

.slider-mesh-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mesh-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32; animation: meshDrift 16s ease-in-out infinite; }
.mesh-1 { width: 420px; height: 420px; top: -120px; left: -80px; background: var(--primary); }
.mesh-2 { width: 380px; height: 380px; top: 20%; right: -100px; background: var(--accent-violet); animation-delay: -5s; }
.mesh-3 { width: 340px; height: 340px; bottom: -140px; left: 30%; background: var(--accent-cyan); animation-delay: -10s; }
@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
}
[data-theme="dark"] .mesh-blob { opacity: 0.22; }

/* MacBook-style frame */
.laptop-frame { max-width: 1000px; margin: 48px auto 0; position: relative; z-index: 2; }
.laptop-screen {
  background: var(--card-bg);
  border: 10px solid #17181C;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.laptop-base {
  height: 18px;
  background: linear-gradient(180deg, #2B2C31, #17181C);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}
.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  background: #0D0E10;
  border-radius: 0 0 8px 8px;
}

.slider-viewport { width: 100%; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1); }
.slide { flex: 0 0 100%; width: 100%; opacity: 0.35; transition: opacity 0.5s ease; }
.slide.active { opacity: 1; }
.slide .dash-body {
  min-height: 380px;
  transform-origin: 42% 38%;
  will-change: transform;
}
.slide .dash-sidebar-item { pointer-events: none; }

/* Ken Burns pan/zoom — only the active slide's content animates, and it
   restarts fresh each time a slide becomes active (the animation rule
   only matches while .active is present, so it isn't a single global
   loop running underneath everything). Clipped safely by
   .slider-viewport's and .laptop-screen's overflow:hidden. */
.slide.active .dash-body {
  animation: kenBurnsPan 9s ease-in-out infinite alternate;
}
@keyframes kenBurnsPan {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1.5%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .slide.active .dash-body { animation: none; }
}

/* Controls */
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-body);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.slider-arrow:hover { border-color: var(--dash-accent); color: var(--dash-accent); background: var(--dash-accent-light); }
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.slider-dot.active { width: 26px; border-radius: 4px; background: var(--dash-accent); }

/* Slide content helpers */
.slide-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slide-mini-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border); }
.slide-mini-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.slide-mini-title { font-size: 0.8rem; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }

.slide-swatch-row { display: flex; gap: 14px; }
.slide-swatch {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slide-swatch i { opacity: 0; }
.slide-swatch.active { transform: scale(1.12); box-shadow: 0 0 0 3px var(--card-bg), 0 0 0 5px var(--dash-accent); }
.slide-swatch.active i { opacity: 1; }

.slide-log-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.slide-log-row:last-child { border-bottom: none; }
.slide-log-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.slide-log-title { font-size: 0.85rem; font-weight: 650; color: var(--text-heading); }
.slide-log-time { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

@media (max-width: 640px) {
  .laptop-screen { border-width: 6px; border-radius: 14px 14px 0 0; }
  .slide-mini-grid { grid-template-columns: 1fr; }
  .slider-controls { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh-blob { animation: none; }
}

/* ----------------------------------------------------------------
   35. AUTHENTICATION MODAL (Login / Register) — LIGHT GLASSMORPHISM
   Harmonized with the site's own premium SaaS theme (not an isolated
   dark UI): frosted-glass card built from the same --glass-bg/
   --glass-border tokens used elsewhere, ShipKia Blue (--dash-accent)
   for every accent/focus/CTA, and full light/dark-toggle awareness
   via the theme-variable cascade instead of hardcoded colors.
   ---------------------------------------------------------------- */
.nav-auth-link {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 9px 10px;
}
.nav-auth-link:hover { color: var(--dash-accent); }

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.auth-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 408px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--dash-accent);
  border-radius: 20px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(var(--dash-accent-rgb), 0.04);
  padding: 34px 32px;
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.auth-modal-backdrop.active .auth-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(var(--dash-accent-rgb), 0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.auth-modal-close:hover { background: rgba(var(--dash-accent-rgb), 0.14); color: var(--text-heading); }

.auth-panel { display: none; animation: authPanelIn 0.35s ease; }
.auth-panel.active { display: block; }
@keyframes authPanelIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.auth-eyebrow, .auth-step-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--dash-accent);
  margin-bottom: 10px;
}
.auth-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.auth-subtitle strong { color: var(--text-heading); font-weight: 700; }

.auth-field { margin-bottom: 16px; }
.auth-field-row { display: flex; gap: 12px; }
.auth-field-row .auth-field { flex: 1; }
.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 7px;
}
.auth-field label span { color: #ef4444; }
.auth-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: rgba(var(--dash-accent-rgb), 0.035);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text-heading);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-field input::placeholder { color: var(--text-muted); }
.auth-field input:focus {
  outline: none;
  border-color: var(--dash-accent);
  box-shadow: 0 0 0 3px rgba(var(--dash-accent-rgb), 0.15);
}

.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 44px; }
.auth-eye-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.auth-eye-toggle:hover { color: var(--text-heading); background: rgba(var(--dash-accent-rgb), 0.08); }

.auth-phone-wrap {
  display: flex;
  align-items: center;
  height: 44px;
  background: rgba(var(--dash-accent-rgb), 0.035);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-phone-wrap:focus-within { border-color: var(--dash-accent); box-shadow: 0 0 0 3px rgba(var(--dash-accent-rgb), 0.15); }
.auth-phone-flag {
  flex-shrink: 0;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-body);
  border-right: 1px solid var(--card-border);
}
.auth-phone-wrap input {
  border: none;
  background: none;
  height: 100%;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
}
.auth-phone-wrap input:focus { outline: none; box-shadow: none; }

.auth-otp-row { display: flex; gap: 10px; margin-bottom: 8px; }
.auth-otp-box {
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(var(--dash-accent-rgb), 0.035);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-otp-box:focus {
  outline: none;
  border-color: var(--dash-accent);
  box-shadow: 0 0 0 3px rgba(var(--dash-accent-rgb), 0.15);
}

.auth-error-msg {
  display: none;
  font-size: 0.8rem;
  color: #dc2626;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 4px 0 16px;
}
.auth-error-msg.visible { display: block; }
[data-theme="dark"] .auth-error-msg { color: #f87171; }

.auth-submit-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--dash-accent);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  box-shadow: 0 10px 24px -8px rgba(var(--dash-accent-rgb), 0.55);
  transition: all 0.2s ease;
}
.auth-submit-btn:hover:not(:disabled) { background: #0F44B8; transform: translateY(-1px); }
.auth-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.auth-submit-btn i { font-size: 1rem; }

.auth-switch {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 22px;
}
.auth-switch a { color: var(--dash-accent); font-weight: 650; }
.auth-switch a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-modal-card { padding: 28px 22px; }
  .auth-field-row { flex-direction: column; gap: 0; }
}

/* ----------------------------------------------------------------
   36. PRICING PAGE — pay-per-shipment tier cards
   Uses ShipKia Blue (--dash-accent) throughout per the "Dashboard UI
   Match" rule, since pricing tiers are effectively product/plan data
   pulled straight from the live software, not marketing chrome.
   ---------------------------------------------------------------- */
.pricing-toplines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 28px auto 0;
}
.pricing-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-body);
}
.pricing-topline i { color: var(--dash-accent); font-size: 1.05rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  background: var(--dash-accent-light);
  border: 1.5px solid var(--dash-accent);
  box-shadow: 0 20px 50px -20px rgba(var(--dash-accent-rgb), 0.35);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dash-accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(var(--dash-accent-rgb), 0.5);
  white-space: nowrap;
}
.pricing-tier-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 8px;
}
.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 24px;
  min-height: 44px;
}
.pricing-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pricing-price-label {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.pricing-currency { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); }
.pricing-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}
.pricing-unit { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.pricing-amount.custom { font-size: 1.6rem; }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}
.pricing-features li i {
  color: var(--dash-accent);
  font-size: 1.05rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.pricing-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid var(--dash-accent);
  color: var(--dash-accent);
  background: transparent;
  transition: all 0.25s ease;
}
.pricing-cta-btn:hover { background: var(--dash-accent); color: #FFFFFF; }
.pricing-card.popular .pricing-cta-btn { background: var(--dash-accent); color: #FFFFFF; }
.pricing-card.popular .pricing-cta-btn:hover { background: #0F44B8; }

.pricing-strip {
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--dash-accent-light);
  border: 1px solid rgba(var(--dash-accent-rgb), 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-body);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-strip i { color: var(--dash-accent); font-size: 1.2rem; flex-shrink: 0; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-6px); }
}