/* =====================================================================
   CARGOLYS TMS - Premium Marketing Website Styles
   Dark Navy Theme (#0f172a) with Blue Accents (#3B82F6)
   ===================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0f172a;
  --navy-light: #1E293B;
  --bg-darker: #111827;
  --bg-card: #18191F;
  --bg-card-hover: #1e2330;

  --blue-50: #FFF0F3;
  --blue-100: #FFE0E6;
  --blue-200: #FBCDD1;
  --blue-300: #FF6680;
  --blue-400: #FF3355;
  --blue-500: #FF0033;
  --blue-600: #CC0029;
  --blue-700: #990020;
  --blue-800: #800029;
  --blue-900: #5C0029;

  --cyan-400: #FF6680;
  --sky-500: #FF3355;

  --text-primary: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --border: #1E293B;
  --border-light: #2d3748;

  --green-400: #10B981;
  --green-500: #059669;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --orange: #FB923C;
  --teal: #0D9488;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 0, 51, 0.2);
}


/* ==========================================================================
   BASE
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

::selection {
  background: rgba(255, 0, 51, 0.35);
  color: #fff;
}

::-moz-selection {
  background: rgba(255, 0, 51, 0.35);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-500);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-400);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--blue-500) var(--navy);
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--blue-400);
}

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


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.nav-container.scrolled {
  background-color: rgba(15, 23, 42, 0.80);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Logo */
.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.logo-cargo {
  color: #fff;
}

.logo-lys {
  color: var(--blue-500);
}

/* Logo image in nav */
.logo-img {
  height: 36px;
  width: auto;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 90;
}

.mobile-menu.open {
  display: block;
  animation: fade-in 0.3s ease;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }
  .desktop-nav {
    display: none;
  }
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.3);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-primary:hover {
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 0, 51, 0.45),
              0 0 20px rgba(255, 0, 51, 0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

/* Keep backward compat with btn-secondary class */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--blue-400);
  background: rgba(255, 0, 51, 0.05);
  transform: translateY(-2px);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 0, 51, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(30, 64, 175, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Legacy gradient support */
.hero-gradient {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 0, 51, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Blueprint Grid (dot pattern) */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 0, 51, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Legacy grid patterns */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 51, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 51, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.grid-pattern-dense {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 51, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Floating Decorative Shapes */
.floating-shape {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.floating-shape--circle {
  border-radius: 50%;
  background: var(--blue-500);
}

.floating-shape--hexagon {
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.floating-shape--sm {
  width: 60px;
  height: 60px;
}

.floating-shape--md {
  width: 120px;
  height: 120px;
}

.floating-shape--lg {
  width: 200px;
  height: 200px;
}

.floating-shape:nth-child(2) { animation-delay: -2s; }
.floating-shape:nth-child(3) { animation-delay: -4s; }
.floating-shape:nth-child(4) { animation-delay: -6s; }

/* Dashboard Mockup */
.dashboard-mockup {
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(255, 0, 51, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.dashboard-mockup:hover {
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg) scale(1.02);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 0, 51, 0.1);
  border: 1px solid rgba(255, 0, 51, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--blue-400);
  animation: fade-up 0.8s ease-out;
}

/* Hero entry animations */
.hero-title {
  animation: fade-up 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  animation: fade-up 0.8s ease-out 0.4s both;
}

.hero-cta {
  animation: fade-up 0.8s ease-out 0.6s both;
}

.hero-metrics {
  animation: fade-up 0.8s ease-out 0.8s both;
}


/* ==========================================================================
   CARDS
   ========================================================================== */

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(255, 0, 51, 0.05);
}

/* Problem Card */
.problem-card {
  position: relative;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-top: 3px solid var(--danger);
  overflow: hidden;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Problem card variant colors (dark-themed fallback) */
.section-dark .problem-card,
.section-navy .problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--danger);
}

.section-dark .problem-card:hover,
.section-navy .problem-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.problem-stat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Module Card */
.module-card {
  position: relative;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-left: 4px solid var(--blue-500);
  overflow: hidden;
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-left-color: var(--blue-600);
}

/* Dark-theme module card */
.section-dark .module-card,
.section-navy .module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-500);
}

.section-dark .module-card:hover,
.section-navy .module-card:hover {
  border-color: rgba(255, 0, 51, 0.3);
  border-left-color: var(--blue-400);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.module-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.module-card:hover::after {
  opacity: 1;
}

.module-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 0, 51, 0.15);
  color: var(--blue-500);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.module-card:hover .module-icon {
  background: rgba(255, 0, 51, 0.3);
  transform: scale(1.05);
}

.module-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Stat Card (glassmorphism on dark bg) */
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 51, 0.2);
  transform: translateY(-4px);
}

.stat-card .stat-icon {
  animation: pulse-soft 3s ease-in-out infinite;
}


/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes counter-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 0, 51, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.4);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

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

/* Legacy keyframes compatibility */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-particle {
  0% { transform: translate(0, 0); }
  25% { transform: translate(100px, -50px); }
  50% { transform: translate(-50px, -100px); }
  75% { transform: translate(-100px, 50px); }
  100% { transform: translate(0, 0); }
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255, 0, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0); }
}


/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* Backward compat with existing delay classes */
.animate-on-scroll.delay-100 { transition-delay: 0.1s; }
.animate-on-scroll.delay-200 { transition-delay: 0.2s; }
.animate-on-scroll.delay-300 { transition-delay: 0.3s; }
.animate-on-scroll.delay-400 { transition-delay: 0.4s; }
.animate-on-scroll.delay-500 { transition-delay: 0.5s; }
.animate-on-scroll.delay-600 { transition-delay: 0.6s; }


/* ==========================================================================
   SECTION BACKGROUNDS
   ========================================================================== */

.section-light {
  background-color: #F8FAFC;
  color: #1E293B;
}

.section-dark {
  background-color: var(--bg-darker);
}

.section-navy {
  background-color: var(--navy);
}

.section-primary {
  background-color: var(--navy);
}

.section-gradient {
  background: linear-gradient(180deg, var(--blue-500) 0%, var(--navy) 100%);
}

/* Section titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-light .section-subtitle {
  color: #64748B;
}


/* ==========================================================================
   GRADIENT MESH EFFECTS
   ========================================================================== */

.gradient-mesh {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.gradient-mesh-blue {
  background: radial-gradient(circle, var(--blue-500), transparent 70%);
}

.gradient-mesh-teal {
  background: radial-gradient(circle, var(--teal), transparent 70%);
}

.gradient-mesh-orange {
  background: radial-gradient(circle, var(--orange), transparent 70%);
}


/* ==========================================================================
   METRICS GRID
   ========================================================================== */

.metric-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(24, 25, 31, 0.6);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(255, 0, 51, 0.3);
  background: rgba(24, 25, 31, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 0, 51, 0.15);
  color: #fff;
  border-bottom: 2px solid var(--border);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--navy-light);
  font-size: 0.9375rem;
}

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

.comparison-table tr:hover td {
  background: rgba(255, 0, 51, 0.03);
}

.comparison-highlight {
  background: rgba(255, 0, 51, 0.1);
  border-left: 3px solid var(--blue-500);
}

/* Competitive table wrapper */
.competitive-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.competitive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.competitive-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-card);
  color: #fff;
  border-bottom: 2px solid var(--border);
}

.competitive-table th:nth-child(2) {
  color: var(--blue-500);
}

.competitive-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

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

.competitive-table tr:hover td {
  background: rgba(255, 0, 51, 0.03);
}

.competitive-table td:nth-child(2) {
  color: var(--success);
  font-weight: 600;
}

.competitive-table td:nth-child(3),
.competitive-table td:nth-child(4) {
  color: var(--text-dim);
}

.check-yes {
  color: var(--success);
}

.check-no {
  color: var(--danger);
}

.check-partial {
  color: var(--warning);
}


/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline-container {
  position: relative;
}

.timeline-connector {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-500), var(--teal));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 24px 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 0, 51, 0.2);
  border: 2px solid var(--blue-500);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  background: var(--blue-500);
  animation: pulse-soft 2s ease-in-out infinite;
}

.timeline-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  border-color: rgba(255, 0, 51, 0.3);
  transform: translateX(4px);
}

.timeline-week {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(255, 0, 51, 0.15);
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 12px;
}


/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--navy-light);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

/* Also support card-style FAQ */
.faq-item.faq-card {
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.faq-item:hover {
  border-color: rgba(255, 0, 51, 0.3);
}

.faq-item.active {
  border-color: rgba(255, 0, 51, 0.4);
}

.faq-header,
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
  user-select: none;
}

.faq-header:hover,
.faq-question:hover {
  color: var(--blue-400);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--blue-500);
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(45deg);
  color: var(--blue-500);
}

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

.faq-item.active .faq-content,
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ==========================================================================
   COST / SAVINGS SECTION
   ========================================================================== */

.savings-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--navy-light);
  padding: 24px 0;
  gap: 16px;
}

.savings-row:last-child {
  border-bottom: none;
}

.savings-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.savings-bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-400));
  transition: width 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.savings-total {
  border: 1px solid var(--green-400);
  background: rgba(16, 185, 129, 0.05);
  border-radius: 16px;
  padding: 24px;
}

/* Cost row (legacy/alternative) */
.cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  gap: 16px;
}

.cost-row:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: var(--bg-card-hover);
}

.cost-row-total {
  background: rgba(255, 0, 51, 0.08);
  border-color: rgba(255, 0, 51, 0.3);
}

.cost-row-total:hover {
  background: rgba(255, 0, 51, 0.12);
  border-color: rgba(255, 0, 51, 0.5);
}

.cost-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--success);
  white-space: nowrap;
}

.cost-row-total .cost-value {
  color: var(--blue-400);
  font-size: 1.5rem;
}


/* ==========================================================================
   SECURITY / BIOMETRICS SECTION
   ========================================================================== */

.security-stat {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-400);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.security-connector {
  border-left: 2px dashed rgba(255, 0, 51, 0.3);
  margin-left: 24px;
  padding-left: 24px;
}

.security-card {
  position: relative;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 0, 51, 0.05));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s ease;
}

.security-card:hover {
  border-color: rgba(255, 0, 51, 0.4);
  box-shadow: 0 0 40px rgba(255, 0, 51, 0.1);
}

.security-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 0, 51, 0.15);
  color: var(--blue-500);
  margin-bottom: 24px;
}

.security-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 20px;
}


/* ==========================================================================
   COMPLIANCE + ANALYTICS
   ========================================================================== */

.comp-analytics-card {
  padding: 36px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.3s ease;
}

.comp-analytics-card:hover {
  border-color: rgba(255, 0, 51, 0.3);
}

.comp-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.comp-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 0, 51, 0.15);
  color: var(--blue-500);
  flex-shrink: 0;
}


/* ==========================================================================
   FORM
   ========================================================================== */

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.875rem;
}

input,
select,
textarea,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease,
              box-shadow 0.3s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(255, 0, 51, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.25);
}

input::placeholder,
textarea::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-success {
  display: none;
  padding: 16px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
  text-align: center;
  margin-top: 16px;
}

.form-error {
  display: none;
  padding: 16px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
  text-align: center;
  margin-top: 16px;
}


/* ==========================================================================
   CTA OPTIONS
   ========================================================================== */

.cta-option {
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s ease;
}

.cta-option:hover {
  border-color: rgba(255, 0, 51, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-option-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 0, 51, 0.15);
  color: var(--blue-500);
  margin: 0 auto 20px;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
}

.footer-link {
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-size: 0.9375rem;
}

.footer-link:hover {
  color: var(--text-primary);
}


/* ==========================================================================
   LANGUAGE SELECTOR
   ========================================================================== */

.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
  border-color: var(--blue-500);
  color: var(--text-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.lang-option:hover {
  background: rgba(255, 0, 51, 0.1);
  color: var(--text-primary);
}

.lang-option.active {
  color: var(--blue-500);
  background: rgba(255, 0, 51, 0.08);
}


/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */

/* Badge Glow */
.badge-glow {
  animation: glow 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Glow Separator */
.glow-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  opacity: 0.3;
}

/* Floating Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-500);
  opacity: 0.2;
  animation: float-particle 20s infinite linear;
}

.particle:nth-child(2) { animation-delay: -5s; animation-duration: 25s; top: 20%; left: 80%; }
.particle:nth-child(3) { animation-delay: -10s; animation-duration: 30s; top: 60%; left: 10%; }
.particle:nth-child(4) { animation-delay: -15s; animation-duration: 22s; top: 80%; left: 60%; }
.particle:nth-child(5) { animation-delay: -3s; animation-duration: 28s; top: 40%; left: 40%; }

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

/* Pulse CTA */
.pulse-blue {
  animation: pulse-blue 2s infinite;
}

/* Counter Values */
.counter-value {
  font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .dashboard-mockup {
    transform: none;
  }

  .dashboard-mockup:hover {
    transform: scale(1.01);
  }

  .timeline-line {
    left: 24px;
  }

  .timeline-dot {
    left: 24px;
    width: 36px;
    height: 36px;
  }

  .cost-row {
    flex-direction: column;
    text-align: center;
  }

  .cost-value {
    font-size: 1.5rem;
  }

  .savings-row {
    flex-direction: column;
    text-align: center;
  }

  .security-stat {
    font-size: 2.25rem;
  }

  .security-connector {
    margin-left: 12px;
    padding-left: 12px;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .btn-primary,
  .btn-outline,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  .floating-shape {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
}
