/* =============================================
   iQ Freight - Modern Flat Design Stylesheet
   Colors: Navy #2D2E83 | Gold #F5C542
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #2D2E83;
  --navy-dark: #1e1f5e;
  --navy-light: #4a4bb0;
  --gold: #F5C542;
  --gold-dark: #d4a832;
  --gold-light: #ffe08a;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-50: #f5f6fa;
  --gray-100: #ecedf5;
  --gray-200: #d8dae8;
  --gray-300: #b0b3cc;
  --gray-500: #6b6e8a;
  --gray-700: #3d3f5c;
  --gray-900: #1a1b2e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(45, 46, 131, 0.06);
  --shadow-md: 0 4px 20px rgba(45, 46, 131, 0.1);
  --shadow-lg: 0 8px 40px rgba(45, 46, 131, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--gray-500);
  line-height: 1.8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 46, 131, 0.3);
}

.btn-secondary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

/* Light navbar for pages without dark hero */
.navbar.navbar-light {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar.navbar-light .nav-links a {
  color: var(--gray-700);
}

.navbar.navbar-light .lang-switch {
  color: var(--gray-700);
}

.navbar.navbar-light .menu-toggle span {
  background: var(--gray-700);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  cursor: pointer;
}

.navbar.scrolled .lang-switch {
  color: var(--navy);
  border-color: var(--gray-200);
}

.lang-switch:hover {
  border-color: var(--gold);
  background: rgba(245, 197, 66, 0.1);
}

.lang-switch svg {
  width: 16px;
  height: 16px;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
}

.navbar.scrolled .nav-cta {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .menu-toggle span {
  background: var(--navy);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 80px;
}

/* Geometric background shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: var(--gold);
}

.hero-bg .shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.hero-bg .shape-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
}

.hero-bg .shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 30%;
  opacity: 0.03;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-buttons-compact {
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: nowrap;
}

.hero-buttons-compact .btn-compact {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.hero-buttons-compact .btn-compact svg {
  width: 16px;
  height: 16px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-mockup {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-header span:first-child { background: #ff5f57; }
.mockup-header span:nth-child(2) { background: #ffbd2e; }
.mockup-header span:nth-child(3) { background: #28c840; }

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mockup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mockup-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-line.short { width: 60%; }
.mockup-line.medium { width: 80%; }
.mockup-line.long { width: 100%; }

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-top: 12px;
  padding: 16px 0;
}

.mockup-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: var(--transition-slow);
}

/* Floating cards around mockup */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.float-card-1 {
  top: 10%;
  left: -30px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 15%;
  right: -40px;
  animation-delay: 2s;
}

.float-card-3 {
  bottom: -10px;
  left: 10%;
  animation-delay: 4s;
}

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

.float-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card .fc-icon svg {
  width: 20px;
  height: 20px;
}

.float-card .fc-text {
  display: flex;
  flex-direction: column;
}

.float-card .fc-label {
  font-size: 0.7rem;
  color: var(--gray-500);
}

.float-card .fc-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

/* =============================================
   TRUSTED BY SECTION
   ============================================= */
.trusted {
  padding: 60px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}

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

.trusted-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-300);
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
  transition: var(--transition);
}

.trusted-logos:hover {
  opacity: 0.8;
}

.trusted-logos .logo-item {
  height: 36px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.trusted-logos .logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Marquee animation for logos */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.marquee-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}

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

.marquee-track .logo-item {
  height: 32px;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: var(--transition);
}

.marquee-track .logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  padding: 120px 0;
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-card:nth-child(2) {
  margin-top: 32px;
}

.about-card:nth-child(3) {
  margin-top: -32px;
}

.about-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.about-card .card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.about-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.about-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.about-content .section-desc {
  margin-bottom: 32px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.highlight-item .hi-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 197, 66, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item .hi-icon svg {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
}

.highlight-item h4 {
  color: var(--navy);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 0.9rem;
}

/* =============================================
   MODULES / SERVICES SECTION
   ============================================= */
.modules {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.modules::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.modules .section-label {
  color: var(--gold);
}

.modules .section-title {
  color: var(--white);
}

.modules .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.modules-header {
  text-align: center;
  margin-bottom: 64px;
}

.modules-header .section-desc {
  margin: 0 auto;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.module-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-color: rgba(245, 197, 66, 0.3);
}

.module-card:hover::before {
  transform: scaleX(1);
}

.module-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245, 197, 66, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.module-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.module-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.module-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.module-card .module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 20px;
  transition: var(--transition);
}

.module-card .module-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.module-card:hover .module-link svg {
  transform: translateX(4px);
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
  padding: 120px 0;
  background: var(--white);
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-header .section-desc {
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-visual {
  position: relative;
}

.feature-image-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.feature-image-box .fi-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
}

.feature-illustration {
  position: relative;
  z-index: 1;
}

.fi-dashboard {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.fi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.fi-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.fi-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.fi-badge.positive {
  background: rgba(40, 200, 64, 0.12);
  color: #28c840;
}

.fi-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.fi-stat-card {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.fi-stat-card .fi-stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.fi-stat-card .fi-stat-label {
  font-size: 0.65rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.fi-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.fi-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
}

.feature-content .section-desc {
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.feature-list li .check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(245, 197, 66, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-list li .check svg {
  width: 12px;
  height: 12px;
  color: var(--gold-dark);
}

/* =============================================
   WHY CHOOSE US / GUARANTEES
   ============================================= */
.guarantees {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
}

.guarantees-header {
  text-align: center;
  margin-bottom: 64px;
}

.guarantees-header .section-desc {
  margin: 0 auto;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guarantee-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}

.guarantee-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.guarantee-card .gc-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
}

.guarantee-card .gc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.guarantee-card .gc-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.guarantee-card h3 {
  margin-bottom: 12px;
}

.guarantee-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =============================================
   NUMBERS / STATS SECTION
   ============================================= */
/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.03;
  pointer-events: none;
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-desc {
  max-width: 520px;
  margin: 0 auto;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gray-100);
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: stretch;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(45, 46, 131, 0.1);
  border-color: var(--navy);
}

.pricing-featured {
  border-color: var(--navy);
  box-shadow: 0 24px 64px rgba(45, 46, 131, 0.15);
}

.pricing-featured:hover {
  box-shadow: 0 32px 80px rgba(45, 46, 131, 0.2);
}

.pricing-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.4);
  z-index: 2;
}

.pricing-card-top {
  padding: 36px 32px;
  background: var(--navy);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 200px;
}

.pricing-featured .pricing-card-top {
  padding-top: 36px;
}

.pricing-card-top::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  bottom: 0;
  width: 40px;
  background: var(--navy);
  border-radius: 0 50% 50% 0 / 0 100% 100% 0;
}

.pricing-plan-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.pricing-price-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.pricing-features {
  list-style: none;
  padding: 20px 32px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
  align-content: center;
}

.pricing-features li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.2s;
}

/* =============================================
   PRICING CALCULATOR PAGE
   ============================================= */
.pricing-builder {
  padding: 120px 0;
  background: var(--white);
}

.pricing-builder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.builder-header {
  margin-bottom: 32px;
}

.plan-selector {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-option {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.plan-option.active {
  border-color: var(--navy);
  box-shadow: 0 20px 60px rgba(45, 46, 131, 0.12);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.plan-head h3 {
  font-size: 1.1rem;
  margin: 0;
}

.plan-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.plan-price span {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
}

.plan-badge {
  position: static;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(245, 197, 66, 0.35);
}

.plan-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.plan-list {
  display: grid;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.calc-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: 120px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calc-panel::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.25), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  animation: float-soft 6s ease-in-out infinite;
}

.calc-header .section-label {
  color: var(--gold);
}

.calc-header .section-title {
  color: var(--white);
}

.calc-form {
  margin: 28px 0;
  display: grid;
  gap: 18px;
}

.calc-row {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.calc-row label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.calc-row input[type="number"] {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
}

.calc-row input[type="text"] {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  outline: none;
}

.calc-row input[type="number"]:disabled {
  opacity: 0.5;
}

.calc-row input[type="text"]:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.calc-row small {
  color: rgba(255, 255, 255, 0.6);
}

.calc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calc-toggle input[type="checkbox"] {
  width: 42px;
  height: 22px;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.calc-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  top: 2px;
  left: 2px;
  transition: var(--transition);
}

.calc-toggle input[type="checkbox"]:checked {
  background: var(--gold);
}

.calc-toggle input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}

.toggle-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.calc-summary {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 10px;
}

.calc-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.calc-total {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.calc-total strong {
  font-size: 1.3rem;
  color: var(--gold);
}

.calc-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-details {
  padding: 120px 0;
  background: var(--gray-50);
}

.pricing-detail-card {
  min-height: 320px;
}

.detail-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.pricing-details .section-title {
  color: var(--navy);
}

.pricing-details .section-desc {
  color: var(--gray-500);
}

.pricing-details .module-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.pricing-details .module-card h3 {
  color: var(--navy);
}

.pricing-details .module-card p {
  color: var(--gray-500);
}

.pricing-details .detail-list {
  color: var(--gray-500);
}

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

.pricing-features li:nth-last-child(-n+3) {
  border-bottom: none;
}

.pricing-features li:hover {
  background: transparent;
}

.pf-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pf-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}

.pf-value small {
  font-weight: 500;
  color: var(--gray-400);
  font-size: 0.72rem;
}

.pf-free {
  color: #28c840;
}

.pf-optional {
  color: var(--gold-dark);
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 28px 24px 0;
  text-align: center;
  white-space: nowrap;
  align-self: center;
  width: auto;
  padding: 14px 32px;
}

.pricing-featured .pricing-btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pricing-featured .pricing-btn:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 160px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero .section-label {
  color: var(--gold);
}

.page-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ph-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.05;
}

.ph-shape-1 { width: 400px; height: 400px; top: -120px; right: -80px; }
.ph-shape-2 { width: 250px; height: 250px; bottom: -60px; left: -60px; }
.ph-shape-3 { width: 120px; height: 120px; top: 40%; left: 20%; opacity: 0.03; }

/* =============================================
   FLOW DIAGRAM
   ============================================= */
.flow-section {
  padding: 120px 0 80px;
  background: var(--white);
}

.flow-header {
  text-align: center;
  margin-bottom: 64px;
}

.flow-header .section-desc {
  max-width: 580px;
  margin: 0 auto;
}

.flow-diagram {
  position: relative;
}

.flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 24px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  position: relative;
}

.flow-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--gray-50);
  border: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
  transition: all 0.4s var(--ease-out);
  flex-wrap: wrap;
  padding: 8px;
}

.flow-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}

.flow-icon-single {
  padding: 0;
}

.flow-icon-single svg {
  width: 36px;
  height: 36px;
}

.flow-node:hover .flow-icon-wrap {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 46, 131, 0.2);
}

.flow-node:hover .flow-icon-wrap svg {
  color: var(--white);
}

.flow-node-accent .flow-icon-wrap {
  background: var(--gold);
  border-color: var(--gold);
}

.flow-node-accent .flow-icon-wrap svg {
  color: var(--navy);
}

.flow-node-accent:hover .flow-icon-wrap {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.flow-node-accent:hover .flow-icon-wrap svg {
  color: var(--navy);
}

.flow-node h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.flow-node p {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin: 0;
}

.flow-connector {
  display: flex;
  align-items: center;
  padding-top: 36px;
  min-width: 48px;
}

.flow-line {
  width: 36px;
  height: 2px;
  background: var(--gray-200);
  position: relative;
}

.flow-arrow {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--gray-300);
}

/* Flow Branches */
.flow-branches {
  margin-top: 48px;
  position: relative;
  padding-top: 40px;
}

.flow-branch-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 40px;
  background: var(--gray-200);
}

.flow-branch-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flow-branch-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-100);
  transition: all 0.3s var(--ease-out);
}

.flow-branch-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45, 46, 131, 0.08);
}

.flow-branch-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-branch-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.flow-branch-card h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.flow-branch-card p {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin: 0;
}

/* =============================================
   WORKFLOW SECTIONS
   ============================================= */
.workflow-section {
  padding: 100px 0;
  background: var(--white);
}

.workflow-alt {
  background: var(--gray-50);
}

.workflow-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.workflow-block.reverse {
  direction: rtl;
}

.workflow-block.reverse > * {
  direction: ltr;
}

.workflow-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--navy);
  opacity: 0.06;
  line-height: 1;
  margin-bottom: -12px;
}

.workflow-steps {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  position: relative;
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 500;
}

.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 32px;
  width: 2px;
  height: calc(100% - 20px);
  background: var(--gray-200);
}

.ws-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.ws-dot-end {
  background: var(--gold);
}

/* Workflow Visual Cards */
.wv-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(45, 46, 131, 0.06);
}

.workflow-alt .wv-card {
  background: var(--white);
}

.wv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.wv-header svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

/* Timeline inside card */
.wv-timeline {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wv-tl-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.wv-tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 36px;
  width: 2px;
  height: calc(100% - 22px);
  background: var(--gray-200);
}

.wv-tl-item.wv-done:not(:last-child)::after {
  background: var(--navy);
}

.wv-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: 2px;
}

.wv-done .wv-tl-dot {
  background: var(--navy);
}

.wv-active .wv-tl-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.3);
}

.wv-tl-content strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.wv-tl-content small {
  font-size: 0.72rem;
  color: var(--gray-400);
}

.wv-active .wv-tl-content strong {
  color: var(--gold-dark);
}

/* Finance grid inside card */
.wv-finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.wv-fin-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}

.wv-fin-item:hover {
  transform: translateY(-2px);
}

.wv-fin-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wv-fin-icon svg {
  width: 20px;
  height: 20px;
}

.wv-fin-expense { background: rgba(239, 68, 68, 0.1); }
.wv-fin-expense svg { color: #ef4444; }
.wv-fin-invoice { background: rgba(45, 46, 131, 0.1); }
.wv-fin-invoice svg { color: var(--navy); }
.wv-fin-receipt { background: rgba(245, 197, 66, 0.15); }
.wv-fin-receipt svg { color: var(--gold-dark); }
.wv-fin-profit { background: rgba(40, 200, 64, 0.1); }
.wv-fin-profit svg { color: #28c840; }

.wv-fin-item small {
  display: block;
  font-size: 0.65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.wv-fin-item strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.cta-box {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.08;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.05;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--gray-900);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .footer-logo {
  height: 36px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-socials a:hover svg {
  color: var(--navy);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--gold);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Delay utility classes */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* =============================================
   COUNTER ANIMATION
   ============================================= */
.count-up {
  display: inline-block;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-buttons-compact {
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
  }

  .pricing-builder-grid {
    grid-template-columns: 1fr;
  }

  .calc-panel {
    position: static;
  }

  .hero-visual {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

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

  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

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

  .pricing-card {
    grid-template-columns: 240px 1fr auto;
  }

  .pricing-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }

  .pricing-features li:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--gray-100);
  }

  .pricing-features li:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta-box {
    padding: 60px 40px;
  }

  .workflow-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .workflow-block.reverse {
    direction: ltr;
  }

  .flow-track {
    justify-content: flex-start;
  }

  .flow-branch-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: var(--white) !important;
  }

  .nav-actions {
    display: none;
  }

  .nav-actions.mobile-visible {
    display: flex;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .guarantees-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-card-top {
    min-height: auto;
    padding: 32px 24px;
  }

  .pricing-card-top::after {
    display: none;
  }

  .pricing-amount {
    font-size: 2.4rem;
  }

  .pricing-features {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px;
    gap: 0 16px;
  }

  .pricing-features li:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--gray-100);
  }

  .pricing-features li:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .pricing-btn {
    margin: 0 20px 24px;
    width: calc(100% - 40px);
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .flow-track {
    flex-wrap: wrap;
    gap: 16px;
  }

  .flow-connector {
    display: none;
  }

  .flow-node {
    min-width: 90px;
  }

  .workflow-section {
    padding: 64px 0;
  }

  .wv-finance-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-box {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .hero-stat .number {
    font-size: 1.5rem;
  }

  .about-image-grid {
    grid-template-columns: 1fr;
  }

  .about-card:nth-child(2),
  .about-card:nth-child(3) {
    margin-top: 0;
  }
}

/* =============================================
   SMOOTH SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}


/* =============================================
   MOBILE APP PAGE STYLES
   ============================================= */

/* --- App Hero --- */
.app-hero {
  position: relative;
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

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

.app-hero-content { z-index: 2; }

.app-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0.75rem 0 1.5rem;
  color: var(--white);
}

.gold-text { color: var(--gold); }

.app-hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--gray-200);
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Store Badges */
.app-hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  transition: var(--transition);
  cursor: pointer;
}

.store-badge:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge small {
  font-size: 0.65rem;
  opacity: 0.7;
  display: block;
  line-height: 1;
}

.store-badge strong {
  font-size: 0.9rem;
  display: block;
  line-height: 1.2;
}

/* --- App Hero Visual / Phone Mockup --- */
.app-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.phone-mockup {
  width: 280px;
  background: var(--white);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.1);
  position: relative;
}

.phone-mockup.phone-small {
  width: 260px;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: var(--gray-900);
  border-radius: 0 0 16px 16px;
  margin: 0 auto -12px;
  position: relative;
  z-index: 3;
}

.phone-screen {
  background: var(--gray-50);
  border-radius: 28px;
  padding: 2rem 1rem 1.5rem;
  min-height: 420px;
  overflow: hidden;
}

/* Phone Screen UI Elements */
.ps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ps-logo-placeholder {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 8px;
}

.ps-company {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-900);
}

.ps-avatar {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
}

.ps-greeting {
  margin-bottom: 1rem;
}

.ps-greeting small {
  font-size: 0.7rem;
  color: var(--gray-500);
  display: block;
}

.ps-greeting strong {
  font-size: 1rem;
  color: var(--gray-900);
}

/* Stats Row */
.ps-stats-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ps-stat {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.ps-stat-num {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}

.ps-stat-lbl {
  display: block;
  font-size: 0.6rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.ps-stat-gold .ps-stat-num { color: var(--gold-dark); }

/* Shipment Card */
.ps-shipment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.ps-sc-muted { opacity: 0.7; }

.ps-sc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ps-sc-id {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--navy);
}

.ps-sc-status {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--navy-light);
  background: rgba(45, 46, 131, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

.ps-sc-delivered {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
}

.ps-sc-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.ps-sc-city { text-align: center; }

.ps-sc-city strong {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-900);
}

.ps-sc-city small {
  font-size: 0.6rem;
  color: var(--gray-500);
}

.ps-sc-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.ps-sc-progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.ps-sc-bar {
  height: 100%;
  background: var(--navy);
  border-radius: 4px;
  transition: width 1s ease;
}

.ps-sc-bar-done {
  background: #2ecc71;
}

/* --- Floating Elements --- */
.app-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 5;
  animation: float-bob 3s ease-in-out infinite;
}

.app-float-notif {
  top: 15%;
  right: -20px;
  animation-delay: 0s;
}

.app-float-otp {
  bottom: 20%;
  left: -10px;
  animation-delay: 1.5s;
}

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

.af-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.af-icon svg {
  width: 18px;
  height: 18px;
}

.af-icon-bell {
  background: rgba(45, 46, 131, 0.1);
  color: var(--navy);
}

.af-icon-lock {
  background: rgba(245, 197, 66, 0.2);
  color: var(--gold-dark);
}

.app-float strong {
  font-size: 0.75rem;
  color: var(--gray-900);
  display: block;
}

.app-float small {
  font-size: 0.65rem;
  color: var(--gray-500);
  display: block;
}


/* --- App Sections --- */
.app-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.app-section-alt {
  background: var(--gray-50);
}

.app-feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-feature-block.reverse {
  direction: ltr;
}

.app-feature-block.reverse .app-feature-content {
  order: 2;
}

.app-feature-block.reverse .app-feature-visual {
  order: 1;
}

/* Feature Number */
.app-feature-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: -0.5rem;
}

/* App Checklist */
.app-checklist {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-checklist li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ac-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ac-icon svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
}

.app-checklist li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.app-checklist li span {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* --- White Label Brand Showcase --- */
.brand-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 360px;
  margin: 0 auto;
}

.brand-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bc-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin: 0 auto 0.75rem;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
  filter: brightness(0) invert(1);
}

.bc-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  padding: 8px;
}

.bc-1 .bc-app-icon { background: #e74c3c; }
.bc-2 .bc-app-icon { background: #3498db; }
.bc-3 .bc-app-icon { background: #f39c12; }
.bc-main .bc-app-icon { background: var(--navy); }

.brand-card span {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.brand-card small {
  font-size: 0.65rem;
  color: var(--gray-500);
}

.bc-main {
  border-color: var(--gold);
  background: rgba(245, 197, 66, 0.05);
}


/* --- Tracking Detail Phone --- */
.ps-tracking-detail {
  margin-bottom: 1rem;
}

.ps-td-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.ps-td-flag {
  font-size: 1.5rem;
}

.ps-td-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  position: relative;
}

.ps-td-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 2px;
}

.ps-td-cities {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* Timeline */
.ps-timeline {
  padding: 0 0.5rem;
}

.ps-tl-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 1rem;
  position: relative;
}

.ps-tl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  width: 2px;
  height: calc(100% - 10px);
  background: var(--gray-200);
}

.ps-tl-step.ps-tl-done:not(:last-child)::after {
  background: var(--navy);
}

.ps-tl-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.ps-tl-done .ps-tl-dot {
  border-color: var(--navy);
  background: var(--navy);
}

.ps-tl-active .ps-tl-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.3);
}

.ps-tl-info strong {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-900);
}

.ps-tl-info small {
  font-size: 0.6rem;
  color: var(--gray-500);
}


/* --- Payment Phone Screen --- */
.ps-balance-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.ps-balance-card small {
  font-size: 0.6rem;
  opacity: 0.7;
}

.ps-balance-amount {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0.25rem 0;
}

.ps-balance-amount span {
  font-size: 1rem;
  opacity: 0.6;
}

.ps-balance-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.ps-balance-row small {
  display: block;
  font-size: 0.55rem;
}

.ps-balance-row strong {
  font-size: 0.8rem;
}

/* Invoice Items */
.ps-invoice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.ps-inv-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-inv-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(45, 46, 131, 0.1);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-inv-icon svg {
  width: 14px;
  height: 14px;
}

.ps-inv-paid {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.ps-inv-left strong {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-900);
}

.ps-inv-left small {
  display: block;
  font-size: 0.55rem;
  color: var(--gray-500);
}

.ps-inv-right {
  text-align: right;
}

.ps-inv-right strong {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.ps-paid-text {
  color: #2ecc71 !important;
}

.ps-pay-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.ps-pay-btn:hover {
  background: var(--gold-dark);
}


/* --- Notification Stack --- */
.notif-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
}

.notif-card {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.notif-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.nc-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-icon svg {
  width: 20px;
  height: 20px;
}

.nc-icon-ship {
  background: rgba(45, 46, 131, 0.1);
  color: var(--navy);
}

.nc-icon-customs {
  background: rgba(46, 204, 113, 0.1);
  color: #27ae60;
}

.nc-icon-otp {
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold-dark);
}

.nc-icon-pay {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.nc-icon-contract {
  background: rgba(155, 89, 182, 0.1);
  color: #8e44ad;
}

.nc-icon-register {
  background: rgba(45, 46, 131, 0.1);
  color: var(--navy);
}

.nc-icon-quote {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.nc-1 { border-left-color: var(--navy); }
.nc-2 { border-left-color: #8e44ad; }
.nc-3 { border-left-color: var(--gold); }
.nc-4 { border-left-color: #3498db; }
.nc-5 { border-left-color: #27ae60; }

.nc-body strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.nc-body p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin-bottom: 4px;
}

.nc-body small {
  font-size: 0.65rem;
  color: var(--gray-300);
}

/* OTP Code Display */
.nc-otp-code {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.nc-otp-code span {
  width: 32px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}


/* --- Finance Phone Screen --- */
.ps-finance-chart {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.ps-fc-header {
  margin-bottom: 0.75rem;
}

.ps-fc-header small {
  font-size: 0.6rem;
  color: var(--gray-500);
  display: block;
}

.ps-fc-header strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
}

.ps-fc-bars {
  display: flex;
  gap: 0.4rem;
  align-items: flex-end;
  height: 80px;
}

.ps-fc-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.ps-fc-bar > div {
  width: 100%;
  background: var(--gray-200);
  border-radius: 4px 4px 0 0;
  transition: height 0.8s ease;
}

.ps-fc-bar-active > div {
  background: var(--navy);
}

.ps-fc-bar small {
  font-size: 0.55rem;
  color: var(--gray-500);
  font-weight: 600;
}

/* Finance Row */
.ps-fin-row {
  display: flex;
  gap: 0.5rem;
}

.ps-fin-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.ps-fi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ps-fi-green { background: #2ecc71; }
.ps-fi-gold { background: var(--gold); }
.ps-fi-red { background: #e74c3c; }

.ps-fin-item small {
  display: block;
  font-size: 0.5rem;
  color: var(--gray-500);
}

.ps-fin-item strong {
  display: block;
  font-size: 0.65rem;
  color: var(--gray-900);
}


/* Notification stagger delays */
.nc-1 { transition-delay: 0s; }
.nc-2 { transition-delay: 0.15s; }
.nc-3 { transition-delay: 0.3s; }
.nc-4 { transition-delay: 0.45s; }
.nc-5 { transition-delay: 0.6s; }


/* --- Mobile App Page Responsive --- */
@media (max-width: 1024px) {
  .app-hero-grid,
  .app-feature-block {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .app-hero-desc {
    margin: 0 auto 2rem;
  }

  .app-hero-badges {
    justify-content: center;
  }

  .app-feature-block.reverse .app-feature-content,
  .app-feature-block.reverse .app-feature-visual {
    order: unset;
  }

  .app-checklist {
    text-align: left;
    max-width: 500px;
    margin: 2rem auto 0;
  }

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

  .notif-stack {
    margin: 0 auto;
  }

  .phone-mockup,
  .phone-mockup.phone-small {
    margin: 0 auto;
  }

  .app-float-notif {
    right: 5%;
    top: 10%;
  }

  .app-float-otp {
    left: 5%;
    bottom: 15%;
  }
}

@media (max-width: 768px) {
  .app-hero-title {
    font-size: 2rem;
  }

  .phone-mockup {
    width: 260px;
  }

  .phone-mockup.phone-small {
    width: 240px;
  }

  .app-float {
    display: none;
  }

  .brand-showcase {
    max-width: 280px;
    gap: 0.75rem;
  }

  .brand-card {
    padding: 1rem 0.75rem;
  }

  .notif-card {
    padding: 1rem;
  }

  .nc-otp-code span {
    width: 28px;
    height: 34px;
    font-size: 0.95rem;
  }

  .app-feature-number {
    font-size: 2.5rem;
  }
}


/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

/* --- Contact Cards --- */
.contact-cards-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.cc-whatsapp::before { background: #25d366; }
.cc-phone::before { background: var(--navy); }
.cc-email::before { background: var(--gold); }
.cc-demo::before { background: var(--navy-light); }

.cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cc-icon svg {
  width: 24px;
  height: 24px;
}

.cc-whatsapp .cc-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.cc-phone .cc-icon {
  background: rgba(45, 46, 131, 0.1);
  color: var(--navy);
}

.cc-email .cc-icon {
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold-dark);
}

.cc-demo .cc-icon {
  background: rgba(74, 75, 176, 0.1);
  color: var(--navy-light);
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.cc-detail {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.cc-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cc-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--gray-500);
  transition: var(--transition);
}

.contact-card:hover .cc-arrow {
  background: var(--navy);
}

.contact-card:hover .cc-arrow svg {
  color: var(--white);
}


/* --- Contact Main Section --- */
.contact-main {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}


/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

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

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cf-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--gray-300);
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 46, 131, 0.08);
}

.cf-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6e8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cf-submit svg {
  width: 18px;
  height: 18px;
}

.cf-submit:hover {
  transform: translateY(-2px);
}


/* --- Contact Info Card --- */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.5rem);
}

.ci-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.ci-header p {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

.ci-section {
  margin-bottom: 1.5rem;
}

.ci-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ci-section h4 svg {
  width: 16px;
  height: 16px;
}

.ci-section p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-200);
}

.ci-section a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.ci-section a:hover {
  text-decoration-color: var(--gold);
  color: var(--gold);
}

.ci-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.ci-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ci-socials a:hover {
  background: var(--gold);
  color: var(--navy);
}

.ci-socials svg {
  width: 18px;
  height: 18px;
}


/* --- FAQ Accordion --- */
.contact-faq {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact-faq h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-toggle span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: var(--transition);
}

.faq-toggle svg {
  width: 16px;
  height: 16px;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-open .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-open .faq-toggle span {
  color: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-open .faq-answer {
  max-height: 200px;
  padding-bottom: 1rem;
}

.faq-answer p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}


/* --- Contact Page Responsive --- */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .cf-row {
    grid-template-columns: 1fr;
  }

  .contact-cards-section {
    margin-top: -1.5rem;
  }
}


/* ================================================
   DEMO / REGISTRATION PAGE
   ================================================ */

.demo-page {
  padding: 10rem 0 6rem;
  min-height: 100vh;
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.demo-page::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--navy);
  opacity: .04;
  z-index: 0;
}

.demo-page::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .06;
  z-index: 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left Info Panel */
.demo-info {
  padding: 2rem 0;
}

.demo-info .section-label {
  display: inline-block;
  margin-bottom: 1rem;
}

.demo-info-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.gold-text {
  color: var(--gold);
}

.demo-info-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.demo-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.demo-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.db-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
}

.demo-benefits li strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .15rem;
}

.demo-benefits li span {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Right Form Card */
.demo-form-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 48px rgba(45,46,131,.08);
  overflow: hidden;
}

.dfc-header {
  background: var(--navy);
  padding: 2rem 2rem 1.5rem;
}

.dfc-subtitle {
  font-size: .875rem;
  color: var(--gold);
  margin-bottom: .5rem;
  font-weight: 500;
}

.dfc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Tabs */
.demo-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-100);
}

.demo-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  margin-bottom: -2px;
  font-family: inherit;
}

.demo-tab:hover {
  color: var(--navy);
}

.demo-tab-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Tab Content */
.demo-tab-content {
  padding: 2rem;
}

/* Form Fields */
.df-field {
  margin-bottom: 1rem;
}

.df-field input {
  width: 100%;
  padding: .875rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: .5rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease;
  background: var(--gray-50);
}

.df-field input::placeholder {
  color: var(--text-light);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.df-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, .15);
  background: #fff;
}

/* reCAPTCHA */
.df-recaptcha {
  margin: 1.25rem 0;
}

/* Privacy checkbox */
.df-checkbox {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  font-size: .88rem;
  color: var(--text);
  margin: 1.25rem 0;
  user-select: none;
}

.df-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.df-checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  position: relative;
  transition: all .2s ease;
}

.df-checkbox input:checked ~ .df-checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.df-checkbox input:checked ~ .df-checkmark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Subdomain preview */
.df-subdomain {
  margin: 1.5rem 0;
}

.df-subdomain > span {
  font-size: .85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: .5rem;
  display: block;
}

.df-subdomain-preview {
  background: var(--gray-50);
  border: 1.5px dashed var(--gray-300);
  border-radius: .5rem;
  padding: .75rem 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: .95rem;
  color: var(--navy);
  font-weight: 600;
}

.df-sd-name {
  color: var(--gold);
}

.df-sd-domain {
  color: var(--navy);
}

/* Submit */
.df-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  transition: all .3s ease;
}

/* OTP section */
.otp-section {
  text-align: center;
  padding: 2rem 1rem;
}

.otp-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 197, 66, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.otp-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
}

.otp-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}

.otp-section > p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.otp-inputs {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.otp-input {
  width: 56px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  border: 2px solid var(--gray-200);
  border-radius: .5rem;
  background: var(--gray-50);
  transition: border-color .25s ease, box-shadow .25s ease;
  font-family: inherit;
}

.otp-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, .15);
  background: #fff;
}

.otp-resend {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-light);
}

.otp-resend-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: .85rem;
  text-decoration: underline;
  transition: color .2s;
}

.otp-resend-btn:hover {
  color: var(--navy);
}

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

  .demo-info {
    padding: 0;
    text-align: center;
  }

  .demo-info-desc {
    max-width: 100%;
  }

  .demo-benefits {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .demo-page {
    padding: 7rem 0 3rem;
  }

  .demo-tab-content {
    padding: 1.5rem;
  }

  .dfc-header {
    padding: 1.5rem;
  }

  .otp-input {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .df-subdomain-preview {
    font-size: .82rem;
  }
}

/* =============================================
   OPERATIONS STORYBOARD
   ============================================= */
.ops-storyboard-section {
  margin-top: 12px;
}

.ops-storyboard-header {
  max-width: 720px;
}

.ops-storyboard-grid {
  margin-top: 28px;
  display: grid;
  gap: 18px;
  position: relative;
}

.ops-storyboard-grid::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(245, 197, 66, 0.6), rgba(45, 46, 131, 0.6));
  border-radius: 999px;
}

.ops-panel {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ops-panel::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245, 197, 66, 0.1), rgba(45, 46, 131, 0.4));
  opacity: 0.6;
}

.ops-panel:last-child::after {
  display: none;
}

.ops-panel-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(245, 197, 66, 0.25);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(245, 197, 66, 0.18);
}

.ops-panel-body p {
  margin: 6px 0 14px;
  color: var(--gray-500);
}

.ops-panel-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.ops-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 197, 66, 0.2);
  color: var(--gold-dark);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.ops-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ops-panel-tags span {
  background: var(--gray-50);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.ops-scenario-band {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ops-scenario-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 22px 22px 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.ops-scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ops-scenario-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.ops-scenario-tag::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.2);
}

.ops-scenario-card h3,
.ops-scenario-card p,
.ops-stepline,
.ops-scenario-detail,
.ops-scenario-footer {
  position: relative;
  z-index: 1;
}

.ops-scenario-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.ops-scenario-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.ops-mini-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 18px;
}

.ops-mini-list li {
  position: relative;
  padding-left: 10px;
  color: var(--gray-500);
  font-size: 0.88rem;
}

.ops-mini-list li::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
}

.ops-mini-list li::after {
  content: '';
  position: absolute;
  left: -14px;
  top: 18px;
  width: 2px;
  height: calc(100% + 6px);
  background: rgba(45, 46, 131, 0.12);
}

.ops-mini-list li:last-child::after {
  display: none;
}

.ops-scenario-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.ops-mini-pill {
  background: rgba(45, 46, 131, 0.08);
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.ops-stepline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 2px;
}

.ops-stepline span {
  background: rgba(45, 46, 131, 0.08);
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
}

.ops-stepline span::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(45, 46, 131, 0.2));
  transform: translateY(-50%);
}

.ops-stepline span:last-child::after {
  display: none;
}

.ops-keyline {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ops-keyline span {
  background: var(--gray-50);
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .ops-scenario-band {
    grid-template-columns: 1fr 1fr;
  }

  .ops-scenario-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ops-storyboard-grid::before {
    left: 24px;
  }

  .ops-panel {
    grid-template-columns: 1fr;
  }

  .ops-panel::after {
    display: none;
  }

  .ops-panel-number {
    width: 44px;
    height: 44px;
  }

  .ops-scenario-band {
    grid-template-columns: 1fr;
  }

  .ops-scenario-detail {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Warehousing Module — Page Styles
   ============================================= */

/* ── Two Modes Section ── */
.wh-modes-section {
  padding: 100px 0;
  background: var(--white);
}

.wh-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wh-mode-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.wh-mode-card:hover {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 8px 32px rgba(45, 46, 131, 0.08);
}

.wh-mode-storage {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-color: transparent;
  color: var(--white);
}

.wh-mode-storage:hover {
  border-color: var(--gold);
}

.wh-mode-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(45, 46, 131, 0.08);
  color: var(--navy);
  margin-bottom: 20px;
}

.wh-mode-storage .wh-mode-badge {
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold);
}

.wh-mode-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245, 197, 66, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}

.wh-mode-storage .wh-mode-icon {
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold);
}

.wh-mode-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.wh-mode-storage h3 {
  color: var(--white);
}

.wh-mode-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 24px;
}

.wh-mode-storage > p {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Flow Steps ── */
.wh-mode-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.wh-mode-storage .wh-mode-flow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.wh-flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.wh-mode-storage .wh-flow-step {
  color: var(--white);
}

.wh-flow-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wh-mode-storage .wh-flow-num {
  background: var(--gold);
  color: var(--navy);
}

.wh-flow-arrow {
  color: var(--gray-300);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wh-mode-storage .wh-flow-arrow {
  color: rgba(255, 255, 255, 0.3);
}

/* ── Mode Feature List ── */
.wh-mode-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.wh-mode-features li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.wh-mode-storage .wh-mode-features li {
  color: rgba(255, 255, 255, 0.65);
}

.wh-mode-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Inventory Units Section ── */
.wh-units-section {
  padding: 100px 0;
  background: var(--white);
}

.wh-units-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wh-units-content .section-label {
  margin-bottom: 12px;
}

.wh-units-content .section-title {
  margin-bottom: 20px;
}

.wh-units-content > p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.wh-units-features {
  display: grid;
  gap: 20px;
}

.wh-unit-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wh-unit-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12), rgba(45, 46, 131, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.wh-unit-feat h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.wh-unit-feat p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ── Warehouse Grid Visual ── */
.wh-grid-visual {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(45, 46, 131, 0.06);
}

.wh-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.wh-cell {
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.wh-cell-occupied {
  background: var(--white);
  border-color: rgba(45, 46, 131, 0.15);
}

.wh-cell-empty {
  background: rgba(245, 197, 66, 0.06);
  border-color: rgba(245, 197, 66, 0.2);
  border-style: dashed;
}

.wh-cell-alert {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

.wh-cell-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.wh-cell-customer {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.wh-cell-days {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
}

.wh-cell-alert .wh-cell-days {
  color: #dc2626;
}

.wh-cell-status {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 6px;
}

.wh-grid-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-top: 8px;
}

.wh-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
}

.wh-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.wh-dot-occupied {
  background: var(--navy);
}

.wh-dot-empty {
  background: var(--gold);
}

.wh-dot-alert {
  background: #dc2626;
}

/* ── Warehousing Responsive ── */
@media (max-width: 900px) {
  .wh-modes-grid {
    grid-template-columns: 1fr;
  }

  .wh-units-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wh-mode-flow {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .wh-mode-card {
    padding: 24px 20px;
  }

  .wh-grid-row {
    grid-template-columns: 1fr 1fr;
  }

  .wh-cell {
    padding: 12px 10px;
  }

  .wh-grid-legend {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* =============================================
   Sales & CRM Module — Page Styles
   ============================================= */

/* ── CRM Pipeline Funnel ── */
.crm-pipeline-section {
  padding: 80px 0;
}

.crm-funnel {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-funnel-stage {
  display: flex;
  justify-content: center;
}

.crm-funnel-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.crm-funnel-bar:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201, 167, 77, 0.1);
}

.crm-funnel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(201, 167, 77, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.crm-funnel-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.crm-funnel-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ── CRM Dashboard Section ── */
.crm-dashboard-section {
  padding: 80px 0;
}

.crm-dashboard-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.crm-dashboard-content .section-label {
  margin-bottom: 12px;
}

.crm-dashboard-content .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.crm-dashboard-content > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.crm-dashboard-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-dash-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.crm-dash-metric-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-metric-leads { background: rgba(201, 167, 77, 0.12); color: var(--gold); }
.crm-metric-contacts { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.crm-metric-activities { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.crm-metric-comms { background: rgba(168, 85, 247, 0.12); color: #a855f7; }

.crm-dash-metric-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.crm-dash-metric-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ── CRM Mock Dashboard Visual ── */
.crm-dashboard-visual {
  position: sticky;
  top: 100px;
}

.crm-mock-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.crm-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.crm-mock-date {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-body);
  padding: 4px 10px;
  border-radius: 6px;
}

.crm-mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.crm-mock-stat {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-body);
  border-radius: 10px;
}

.crm-mock-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.crm-mock-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crm-mock-stat-change {
  display: block;
  font-size: 0.7rem;
  margin-top: 4px;
  color: var(--text-secondary);
}

.crm-mock-stat-change.crm-up { color: #10b981; }
.crm-mock-stat-change.crm-down { color: #ef4444; }

.crm-mock-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.crm-mock-chart-box {
  background: var(--bg-body);
  border-radius: 10px;
  padding: 16px;
}

.crm-mock-chart-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mock line chart */
.crm-mock-line-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
}

.crm-mock-line {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.crm-mock-line::before,
.crm-mock-line::after {
  content: '';
  display: none;
}

.crm-mock-line {
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 100%
  );
  position: relative;
}

/* Use pseudo-elements for chart bars */
.crm-mock-line-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 4px;
}

.crm-mock-line-chart .crm-mock-line {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
}

/* Mini funnel chart */
.crm-mock-funnel-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crm-mini-bar {
  height: 24px;
  background: linear-gradient(135deg, var(--gold), #d4a843);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: width 0.6s ease;
}

.crm-mini-bar span {
  font-size: 0.65rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
}

/* ── CRM Responsive ── */
@media (max-width: 768px) {
  .crm-dashboard-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crm-dashboard-content .section-title {
    text-align: center;
  }

  .crm-dashboard-visual {
    position: static;
  }

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

  .crm-mock-charts {
    grid-template-columns: 1fr;
  }

  .crm-funnel-bar {
    width: 100% !important;
    padding: 16px 20px;
  }

  .crm-pipeline-section {
    padding: 60px 0;
  }

  .crm-dashboard-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .crm-mock-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .crm-mock-stat-num {
    font-size: 1.2rem;
  }

  .crm-funnel-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* =============================================
   Finance Module — Page Styles
   ============================================= */

/* ── Double-Entry Debit/Credit Visual ── */
.fin-debit-credit {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 64px;
}

.fin-dc-card {
  flex: 1;
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.fin-dc-debit {
  border-top: 3px solid var(--navy);
}

.fin-dc-credit {
  border-top: 3px solid var(--gold);
}

.fin-dc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fin-dc-debit .fin-dc-header svg {
  color: var(--navy);
}

.fin-dc-credit .fin-dc-header svg {
  color: var(--gold-dark);
}

.fin-dc-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.fin-dc-card > p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.fin-dc-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fin-dc-list li {
  font-size: 0.88rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.fin-dc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.fin-dc-debit .fin-dc-list li::before {
  background: var(--navy);
}

.fin-dc-credit .fin-dc-list li::before {
  background: var(--gold);
}

.fin-dc-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  flex-shrink: 0;
}

.fin-dc-equals {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.fin-dc-divider span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ── How It Works Steps ── */
.fin-how-it-works {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 40px;
}

.fin-how-it-works h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  text-align: center;
}

.fin-hiw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.fin-hiw-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fin-hiw-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fin-hiw-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.fin-hiw-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Financial Reports Section ── */
.fin-reports-section {
  padding: 100px 0;
  background: var(--white);
}

.fin-reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fin-report-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.fin-report-card:hover {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 8px 32px rgba(45, 46, 131, 0.08);
  transform: translateY(-4px);
}

.fin-report-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-color: transparent;
}

.fin-report-featured:hover {
  border-color: var(--gold);
}

.fin-report-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(245, 197, 66, 0.12);
  color: var(--navy);
}

.fin-report-featured .fin-report-icon {
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold);
}

.fin-report-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.fin-report-featured h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.fin-report-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.fin-report-featured p {
  color: rgba(255, 255, 255, 0.7);
}

.fin-report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fin-report-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(45, 46, 131, 0.06);
  color: var(--navy);
}

.fin-report-featured .fin-report-tags span {
  background: rgba(245, 197, 66, 0.15);
  color: var(--gold);
}

/* ── Owner Dashboard Section ── */
.fin-dashboard-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.fin-dashboard-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.fin-dashboard-content .section-label {
  margin-bottom: 12px;
}

.fin-dashboard-content .section-title {
  margin-bottom: 20px;
}

.fin-dashboard-content > p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.fin-dashboard-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.fin-dashboard-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.fin-dashboard-highlights li svg {
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ── Mock Dashboard Visual ── */
.fin-mock-dashboard {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(45, 46, 131, 0.08);
}

.fin-mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.fin-mock-widget {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 18px;
}

.fin-mock-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.fin-mock-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.fin-mock-change {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
}

.fin-mock-up {
  color: #16a34a;
}

.fin-mock-down {
  color: #dc2626;
}

.fin-mock-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 16px 8px 0;
}

.fin-mock-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), var(--navy-light));
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

/* ── Finance Responsive ── */
@media (max-width: 900px) {
  .fin-debit-credit {
    flex-direction: column;
    gap: 20px;
  }

  .fin-dc-divider {
    flex-direction: row;
    padding: 12px 0;
    gap: 10px;
  }

  .fin-hiw-grid {
    grid-template-columns: 1fr;
  }

  .fin-reports-grid {
    grid-template-columns: 1fr;
  }

  .fin-dashboard-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .fin-dc-card {
    padding: 24px 20px;
  }

  .fin-how-it-works {
    padding: 28px 20px;
  }

  .fin-report-card {
    padding: 24px 20px;
  }

  .fin-mock-value {
    font-size: 1.15rem;
  }
}

/* =============================================
   Billing & Accounting — Financial Pipeline
   ============================================= */

.billing-pipeline-section {
  padding: 80px 0 40px;
  overflow-anchor: none;
}

.billing-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ── Trigger Banner ── */
.bp-trigger {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.bp-trigger::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.08);
}

.bp-trigger::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.05);
}

.bp-trigger-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 197, 66, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.bp-trigger-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bp-trigger-body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.bp-trigger-body strong {
  color: var(--gold);
}

.bp-trigger-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 1;
}

/* ── Pipeline Container ── */
.bp-pipeline {
  position: relative;
  padding-left: 40px;
  overflow: hidden;
}

/* Vertical connecting line */
.bp-pipeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    var(--gold) 0%,
    var(--navy-light) 30%,
    var(--navy) 70%,
    var(--gold) 100%);
  border-radius: 999px;
}

/* ── Step Row ── */
.bp-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
  position: relative;
  overflow-anchor: none;
}

/* Override reveal transform for pipeline steps — use opacity only to prevent scroll-anchor cascade */
.bp-step.reveal {
  transform: none;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-step.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Node (circle on the line) ── */
.bp-node {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.bp-node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy);
  transition: all 0.4s ease;
}

.bp-step:hover .bp-node-ring {
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(245, 197, 66, 0.15);
}

.bp-node-num {
  position: relative;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
  z-index: 1;
}

.bp-step:hover .bp-node-num {
  color: var(--gold-dark);
}

/* ── Step Card ── */
.bp-step-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 12px rgba(45, 46, 131, 0.04);
}

.bp-step:hover .bp-step-card {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 8px 32px rgba(45, 46, 131, 0.08);
  transform: translateX(4px);
}

/* Card top accent bar */
.bp-step-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bp-step:hover .bp-step-card::before {
  opacity: 1;
}

/* ── Step Header ── */
.bp-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 0;
}

.bp-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12), rgba(45, 46, 131, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: all 0.3s ease;
}

.bp-step:hover .bp-step-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  transform: scale(1.08);
}

.bp-step-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.bp-step-sub {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ── Step Body ── */
.bp-step-body {
  padding: 12px 24px 20px;
}

.bp-step-body > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ── Feature Chips ── */
.bp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gray-50);
  color: var(--navy);
  transition: all 0.25s ease;
}

.bp-chips span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.bp-step:hover .bp-chips span {
  background: rgba(245, 197, 66, 0.1);
}

/* ── End Marker ── */
.bp-end {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 40px;
  margin-top: -4px;
  padding-top: 4px;
  position: relative;
}

.bp-end-dot {
  position: absolute;
  left: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold), 0 0 16px rgba(245, 197, 66, 0.35);
  animation: bp-glow 2s ease-in-out infinite;
}

@keyframes bp-glow {
  0%, 100% { box-shadow: 0 0 0 3px var(--gold), 0 0 16px rgba(245, 197, 66, 0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(245, 197, 66, 0.3), 0 0 24px rgba(245, 197, 66, 0.5); }
}

.bp-end span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
}

/* ── Metrics Band ── */
.billing-metrics-section {
  padding: 40px 0 80px;
}

.bp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bp-metric {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
}

.bp-metric:hover {
  background: var(--white);
  border-color: rgba(245, 197, 66, 0.3);
  box-shadow: 0 8px 32px rgba(45, 46, 131, 0.08);
  transform: translateY(-4px);
}

.bp-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.bp-metric h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.bp-metric p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .bp-trigger {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .bp-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .billing-pipeline-section {
    padding: 48px 0 20px;
  }

  .bp-pipeline {
    padding-left: 32px;
  }

  .bp-pipeline::before {
    left: 17px;
  }

  .bp-node {
    left: -32px;
    width: 36px;
    height: 36px;
    top: 20px;
  }

  .bp-node-num {
    font-size: 0.75rem;
  }

  .bp-step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px 0;
  }

  .bp-step-body {
    padding: 10px 18px 16px;
  }

  .bp-step-card::before {
    opacity: 1;
  }

  .bp-chips span {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
}

/* =============================================
   RTL / Arabic Language Overrides
   ============================================= */

/* Arabic Fonts */
[dir="rtl"] {
  font-family: 'Tajawal', 'Inter', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .nav-links a,
[dir="rtl"] .nav-cta,
[dir="rtl"] .btn,
[dir="rtl"] .section-label,
[dir="rtl"] .pricing-plan-label,
[dir="rtl"] .pricing-badge,
[dir="rtl"] .hero-badge,
[dir="rtl"] .footer-col h4 {
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Base direction */
[dir="rtl"] body {
  text-align: right;
}

/* Navigation */
[dir="rtl"] .nav-links {
  flex-direction: row;
}

[dir="rtl"] .nav-actions {
  flex-direction: row;
}

[dir="rtl"] .menu-toggle {
  margin-left: 0;
  margin-right: auto;
}

/* Hero */
[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .hero-buttons {
  justify-content: flex-start;
}

[dir="rtl"] .hero-stats {
  justify-content: flex-start;
}

[dir="rtl"] .hero-badge {
  margin-left: auto;
  margin-right: 0;
}

/* Float cards - mirror positions */
[dir="rtl"] .float-card-1 { left: auto; right: -40px; }
[dir="rtl"] .float-card-2 { right: auto; left: -30px; }
[dir="rtl"] .float-card-3 { left: auto; right: 10%; }

[dir="rtl"] .float-card {
  flex-direction: row;
}

/* Buttons with arrows */
[dir="rtl"] .btn svg,
[dir="rtl"] .module-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .module-link {
  flex-direction: row;
}

/* About section */
[dir="rtl"] .about {
  direction: rtl;
}

[dir="rtl"] .about-content {
  text-align: right;
}

[dir="rtl"] .highlight-item {
  text-align: right;
}

/* Features blocks */
[dir="rtl"] .feature-block {
  direction: rtl;
}

[dir="rtl"] .feature-block > * {
  direction: rtl;
}

[dir="rtl"] .feature-block.reverse {
  direction: ltr;
}

[dir="rtl"] .feature-block.reverse > * {
  direction: rtl;
}

[dir="rtl"] .feature-content {
  text-align: right;
}

[dir="rtl"] .feature-list li {
  text-align: right;
}

/* Section headers */
[dir="rtl"] .section-label {
  text-align: center;
}

[dir="rtl"] .section-title {
  text-align: center;
}

/* Module cards */
[dir="rtl"] .module-card {
  text-align: right;
}

/* Pricing cards */
[dir="rtl"] .pricing-features li {
  flex-direction: row;
}

[dir="rtl"] .pf-label {
  text-align: right;
}

[dir="rtl"] .pf-value {
  text-align: left;
}

/* Detail list */
[dir="rtl"] .detail-list li {
  padding-right: 20px;
  padding-left: 0;
}

[dir="rtl"] .detail-list li::before {
  left: auto;
  right: 0;
}

/* CTA */
[dir="rtl"] .cta-buttons {
  justify-content: center;
}

/* Footer */
[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] .footer-brand {
  text-align: right;
}

[dir="rtl"] .footer-col {
  text-align: right;
}

[dir="rtl"] .footer-socials {
  justify-content: flex-start;
}

[dir="rtl"] .footer-bottom {
  flex-direction: row;
}

/* How-it-works: flow arrows */
[dir="rtl"] .flow-arrow {
  border-left: none;
  border-right: 8px solid var(--gray-300);
}

/* How-it-works: flow branch cards */
[dir="rtl"] .flow-branch-card {
  text-align: right;
}

/* How-it-works: workflow block reverse — already RTL page, so reverse uses ltr */
[dir="rtl"] .workflow-block.reverse {
  direction: ltr;
}

[dir="rtl"] .workflow-block.reverse > * {
  direction: rtl;
}

/* How-it-works: workflow step timeline connector */
[dir="rtl"] .workflow-step:not(:last-child)::after {
  left: auto;
  right: 5px;
}

/* How-it-works: visual timeline connector */
[dir="rtl"] .wv-tl-item:not(:last-child)::after {
  left: auto;
  right: 7px;
}

[dir="rtl"] .wv-tl-content {
  text-align: right;
}

[dir="rtl"] .wv-header {
  direction: rtl;
}

/* Back to top */
[dir="rtl"] .back-to-top {
  left: 30px;
  right: auto;
}

/* Marquee - reverse direction */
[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

/* Page hero */
[dir="rtl"] .page-hero-content {
  text-align: center;
}

/* Scroll progress */
[dir="rtl"] .scroll-progress {
  right: auto;
  left: 0;
  transform-origin: left;
}

/* Pricing detail cards on module pages */
[dir="rtl"] .pricing-detail-card {
  text-align: right;
}

/* CRM pipeline */
[dir="rtl"] .crm-funnel-bar {
  flex-direction: row;
}

[dir="rtl"] .crm-funnel-info {
  text-align: right;
}

/* CRM dashboard */
[dir="rtl"] .crm-dashboard-content .section-title {
  text-align: right;
}

[dir="rtl"] .crm-dash-metric {
  text-align: right;
}

/* Finance module */
[dir="rtl"] .fin-debit-credit {
  direction: rtl;
}

/* Warehouse module */
[dir="rtl"] .wh-mode-card {
  text-align: right;
}

[dir="rtl"] .wh-unit-feat {
  text-align: right;
}

/* App feature block reverse — override direction:ltr so children stay RTL */
[dir="rtl"] .app-feature-block.reverse {
  direction: rtl;
}

/* Phone screen timeline RTL (mobile-app page) */
[dir="rtl"] .ps-tl-step {
  text-align: right;
}

[dir="rtl"] .ps-tl-step:not(:last-child)::after {
  left: auto;
  right: 7px;
}

[dir="rtl"] .ps-tl-info {
  text-align: right;
}

[dir="rtl"] .ps-td-cities {
  direction: rtl;
}

[dir="rtl"] .ps-header {
  direction: rtl;
}

/* App checklist (mobile-app page) */
[dir="rtl"] .app-checklist li {
  text-align: right;
}

/* Finance dashboard highlights */
[dir="rtl"] .fin-dashboard-highlights li {
  text-align: right;
}

/* Notification cards (mobile-app page) */
[dir="rtl"] .notif-card {
  border-left: none;
  border-right: 4px solid transparent;
}

[dir="rtl"] .notif-card:hover {
  transform: translateX(-4px);
}

[dir="rtl"] .nc-1 { border-right-color: var(--navy); border-left-color: transparent; }
[dir="rtl"] .nc-2 { border-right-color: #8e44ad; border-left-color: transparent; }
[dir="rtl"] .nc-3 { border-right-color: var(--gold); border-left-color: transparent; }
[dir="rtl"] .nc-4 { border-right-color: #3498db; border-left-color: transparent; }
[dir="rtl"] .nc-5 { border-right-color: #27ae60; border-left-color: transparent; }

[dir="rtl"] .nc-body {
  text-align: right;
}

/* Operations mini-list */
[dir="rtl"] .ops-mini-list {
  padding-left: 0;
  padding-right: 18px;
}

[dir="rtl"] .ops-mini-list li {
  padding-left: 0;
  padding-right: 10px;
  text-align: right;
}

[dir="rtl"] .ops-mini-list li::before {
  left: auto;
  right: -18px;
}

[dir="rtl"] .ops-mini-list li::after {
  left: auto;
  right: -14px;
}

/* Mobile responsive RTL fixes */
@media (max-width: 768px) {
  [dir="rtl"] .nav-links {
    text-align: right;
  }

  [dir="rtl"] .about {
    direction: ltr;
  }

  [dir="rtl"] .about-content {
    direction: rtl;
  }

  [dir="rtl"] .feature-block,
  [dir="rtl"] .feature-block.reverse {
    direction: ltr;
  }

  [dir="rtl"] .feature-block > *,
  [dir="rtl"] .feature-block.reverse > * {
    direction: rtl;
  }
}
