/* ============================================
   FuelVision Modern Design System v2
   Fresh, contemporary aesthetic
   ============================================ */

/* CSS Custom Properties - Fresh color palette */
:root {
  /* Primary palette - deeper, richer blues */
  --fv-primary: #0f172a;
  --fv-primary-light: #1e293b;
  --fv-secondary: #334155;

  /* Accent - timeline gradient palette */
  --fv-accent: #00b2ff;
  --fv-accent-light: #33c4ff;
  --fv-accent-dark: #0066ff;

  /* Success/eco green */
  --fv-green: #47f463;
  --fv-green-light: #6ff882;

  /* Text hierarchy */
  --fv-text: #0f172a;
  --fv-text-secondary: #475569;
  --fv-text-muted: #94a3b8;

  /* Backgrounds */
  --fv-bg: #ffffff;
  --fv-bg-subtle: #f8fafc;
  --fv-bg-muted: #f1f5f9;

  /* Borders */
  --fv-border: #e2e8f0;
  --fv-border-light: #f1f5f9;

  /* Effects */
  --fv-radius-sm: 8px;
  --fv-radius: 12px;
  --fv-radius-lg: 20px;
  --fv-radius-xl: 28px;

  /* Shadows - softer, more diffused */
  --fv-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --fv-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --fv-shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
  --fv-shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  --fv-shadow-glow: 0 0 40px rgba(0, 178, 255, 0.15);

  /* Transitions */
  --fv-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fv-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fv-duration: 0.3s;
  --fv-duration-slow: 0.5s;
}

/* ============================================
   Navbar — centered logo, evenly spaced links
   Structure: .nav-left (Home, About) | .logo | .nav-right (Press, Careers, Contact)
   The container is forced full-width so the logo sits dead-center on the viewport.
   Both sides get equal flex space (1 1 0) so the logo is always the midpoint.
   ============================================ */

/* Override Webflow's 940px max-width on the navbar container */
.cloud-navbar-2 .container-navbar.w-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.nav-menu.w-nav-menu {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  width: 100% !important;
}

.nav-left,
.nav-right {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 0;
}

.nav-left {
  justify-content: flex-end !important;
}

.nav-right {
  justify-content: flex-start !important;
}

/* Every link gets the same fixed padding = even spacing */
.nav-left .navigation-link,
.nav-right .navigation-link {
  white-space: nowrap;
  text-align: center;
  padding: 10px 20px !important;
}

/* Logo: fixed width, dead center between the two flex halves */
.nav-menu .logo {
  flex: 0 0 64px !important;
  width: 64px !important;
  margin: 0 24px !important;
  padding: 0 !important;
  object-fit: contain;
}

/* ============================================
   Base & Reset
   ============================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--fv-ease), transform 0.6s var(--fv-ease);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--fv-ease), transform 0.6s var(--fv-ease);
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--fv-ease), transform 0.6s var(--fv-ease);
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.6s var(--fv-ease);
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s var(--fv-ease), transform 0.5s var(--fv-ease-bounce);
}

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

/* Stagger delays */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.4s; }

/* ============================================
   Typography System
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fv-accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 16px;
  height: 11px;
  background: linear-gradient(135deg, var(--fv-accent), var(--fv-green));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M6.5 13C3.5 13 1 10.7 1 8s2.5-5 5.5-5c.6-1.7 2.5-3 4.7-3 2.8 0 5 2 5.3 4.5.2 0 .3 0 .5 0 2.5 0 4.5 1.8 4.5 4s-2 4-4.5 4H6.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M6.5 13C3.5 13 1 10.7 1 8s2.5-5 5.5-5c.6-1.7 2.5-3 4.7-3 2.8 0 5 2 5.3 4.5.2 0 .3 0 .5 0 2.5 0 4.5 1.8 4.5 4s-2 4-4.5 4H6.5z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: cloud-drift-bob 4s ease-in-out infinite;
}

@keyframes cloud-drift-bob {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateX(3px) translateY(-3px) scale(1.05);
    opacity: 0.9;
  }
  50% {
    transform: translateX(5px) translateY(-1px) scale(1.1);
    opacity: 0.75;
  }
  75% {
    transform: translateX(2px) translateY(-4px) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
}

.section-title {
  font-family: Montserrat, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--fv-text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.section-title-light {
  color: white;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fv-text-secondary);
  max-width: 640px;
}

.section-subtitle-light {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Modern Card System
   ============================================ */
.card {
  background: var(--fv-bg);
  border-radius: var(--fv-radius-lg);
  border: 1px solid var(--fv-border);
  padding: 32px;
  transition: all var(--fv-duration) var(--fv-ease);
  position: relative;
}

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

/* Glass card */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--fv-radius-lg);
  padding: 32px;
  transition: all var(--fv-duration) var(--fv-ease);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--fv-shadow-md);
  transform: translateY(-2px);
}

/* Feature card with gradient top border */
.card-feature {
  background: var(--fv-bg);
  border-radius: var(--fv-radius-lg);
  border: 1px solid var(--fv-border);
  padding: 40px 32px;
  transition: all var(--fv-duration) var(--fv-ease);
  position: relative;
  overflow: hidden;
}

.card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fv-accent), var(--fv-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fv-duration) var(--fv-ease);
}

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

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

.card-feature .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.1), rgba(71, 244, 99, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  transition: all var(--fv-duration) var(--fv-ease-bounce);
}

.card-feature:hover .icon {
  background: linear-gradient(135deg, var(--fv-accent), var(--fv-green));
  transform: scale(1.1) rotate(-5deg);
  color: white;
}

/* ============================================
   Modern Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--fv-radius);
  transition: all var(--fv-duration) var(--fv-ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fv-accent) 0%, var(--fv-accent-dark) 100%);
  color: white !important;
  box-shadow: 0 4px 14px rgba(0, 178, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 178, 255, 0.4);
  color: white !important;
}

.btn-secondary {
  background: var(--fv-bg);
  color: var(--fv-text) !important;
  border: 2px solid var(--fv-border);
}

.btn-secondary:hover {
  border-color: var(--fv-accent);
  color: var(--fv-accent) !important;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--fv-primary) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--fv-accent) !important;
}

.btn .arrow {
  transition: transform var(--fv-duration) var(--fv-ease);
}

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

/* ============================================
   Modern Divider
   ============================================ */
.modern-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fv-border), transparent);
  margin: 80px auto;
  max-width: 1200px;
  border: none;
}

/* ============================================
   CTA Section - Unified dark navy
   ============================================ */
.modern-cta {
  background:
    radial-gradient(ellipse 80% 50% at 60% 30%, rgba(0, 102, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(0, 178, 255, 0.08) 0%, transparent 50%),
    linear-gradient(170deg, #0f172a 0%, #162032 35%, #1a2d4a 65%, #0f172a 100%);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.modern-cta::before {
  content: '';
  position: absolute;
  top: -100%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 178, 255, 0.08) 0%, transparent 60%);
  animation: pulse-slow 8s ease-in-out infinite;
}

.modern-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(71, 244, 99, 0.06) 0%, transparent 60%);
  animation: pulse-slow 8s ease-in-out infinite 4s;
}

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

.modern-cta .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.modern-cta h2 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.modern-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--fv-border), transparent);
}

.stat-value {
  font-family: Montserrat, sans-serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--fv-accent), var(--fv-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--fv-text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-item:not(:last-child)::after {
    right: 20%;
    top: auto;
    bottom: 0;
    height: 1px;
    width: 60%;
  }
}

/* ============================================
   Feature Split Layout
   ============================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

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

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

.feature-content {
  max-width: 520px;
}

.feature-visual img {
  width: 100%;
  border-radius: var(--fv-radius-xl);
  box-shadow: var(--fv-shadow-lg);
}

@media (max-width: 991px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }

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

/* ============================================
   Pillar/Benefits Grid
   ============================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pillar-grid,
  .pillar-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
  background: var(--fv-bg);
  border-radius: var(--fv-radius-lg);
  border: 1px solid var(--fv-border);
  padding: 36px;
  position: relative;
  transition: all var(--fv-duration) var(--fv-ease);
}

.testimonial-card:hover {
  border-color: var(--fv-accent);
  box-shadow: var(--fv-shadow-md);
}

.testimonial-card .quote-mark {
  font-size: 48px;
  color: var(--fv-accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-card .quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fv-text-secondary);
  margin-bottom: 24px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author-name {
  font-weight: 600;
  color: var(--fv-text);
  font-size: 15px;
}

.testimonial-card .author-role {
  font-size: 13px;
  color: var(--fv-text-muted);
}

/* ============================================
   Page Wrapper Animation
   ============================================ */
.page-wrapper {
  animation: pageIn 0.5s var(--fv-ease);
}

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

/* Hide old section-footer black block (about page) */
.section-footer {
  display: none !important;
}

/* ============================================
   Footer Gradient Divider — animated shimmer line
   ============================================ */
.footer-gradient-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--fv-accent) 15%,
    var(--fv-accent-dark) 35%,
    var(--fv-green) 55%,
    var(--fv-accent) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gradient-shimmer 4s ease-in-out infinite;
  position: relative;
}

.footer-gradient-divider::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 178, 255, 0.3) 25%,
    rgba(0, 102, 255, 0.2) 50%,
    rgba(71, 244, 99, 0.3) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gradient-shimmer 4s ease-in-out infinite;
  filter: blur(6px);
}

@keyframes gradient-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   Footer Enhancement
   ============================================ */
.section-8 {
  background: linear-gradient(170deg, #0f172a 0%, #162032 40%, #1a2d4a 70%, #0f172a 100%) !important;
}

.section-8 .footer-heading,
.section-8 .footer-heading-copy {
  color: #ffffff !important;
}

.section-8 .footer-text,
.section-8 .footer-text-copy {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color var(--fv-duration) var(--fv-ease);
}

.section-8 .footer-text:hover,
.section-8 .footer-text-copy:hover {
  color: #ffffff !important;
}

.section-8 .text-block-4,
.section-8 .text-block-4-copy {
  color: rgba(255, 255, 255, 0.55) !important;
}

.section-8 .learn-more-button {
  color: white !important;
  background: linear-gradient(135deg, var(--fv-accent), var(--fv-accent-dark)) !important;
  border: none !important;
}

/* Made in Europe tag */
.made-in-europe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

.made-in-europe .eu-flag {
  font-size: 13px;
  line-height: 1;
}

.section-8 .learn-more-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 178, 255, 0.4) !important;
}

/* ============================================
   Hero Enhancement
   Keep original Webflow layout
   ============================================ */

/* ============================================
   Subtle Patterns
   ============================================ */
.bg-gradient-subtle {
  background: linear-gradient(180deg, var(--fv-bg-subtle) 0%, var(--fv-bg) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.03) 0%, rgba(71, 244, 99, 0.03) 100%);
}

/* ============================================
   Responsive Typography
   ============================================ */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .modern-cta h2 {
    font-size: 28px;
  }

  .modern-cta {
    padding: 60px 24px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--fv-accent), var(--fv-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   Memorable Design Elements
   ============================================ */

/* Animated gradient border on focused/active cards */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Smooth link underline animation */
.navigation-link {
  position: relative;
  color: white !important;
  border-bottom: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.navigation-link.w--current {
  color: var(--fv-accent) !important;
}

.navigation-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fv-accent), var(--fv-green));
  transition: all 0.3s var(--fv-ease);
  transform: translateX(-50%);
}

.navigation-link:hover::after {
  width: 70%;
}

/* Current page — no double underline, just the accent color */
.navigation-link.w--current::after {
  width: 70%;
}

/* When scrolled, darken nav text for white background */
.cloud-navbar-2.scrolled .navigation-link {
  color: var(--fv-text) !important;
  text-shadow: none !important;
}

.cloud-navbar-2.scrolled .navigation-link.w--current {
  color: var(--fv-accent) !important;
  text-shadow: none !important;
}

/* Magnetic hover effect for buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Transparent navbar */
.cloud-navbar-2 {
  background: transparent !important;
  border-bottom: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, top 0.3s ease, inset 0.3s ease;
}

.cloud-navbar-2.scrolled {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  top: 0 !important;
  inset: 0 0 auto 0 !important;
}

/* Kill Webflow's default gray background on .w-nav */
.cloud-navbar-2.w-nav {
  background: transparent !important;
}

/* Hero contrail lines */
.intro-header::before {
  content: '';
  position: absolute;
  top: 35%;
  left: -5%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 178, 255, 0.2) 40%, rgba(0, 102, 255, 0.15) 70%, transparent);
  opacity: 0.6;
  animation: contrail-drift 10s ease-in-out infinite;
  transform: rotate(-3deg);
}

.intro-header::after {
  content: '';
  position: absolute;
  bottom: 25%;
  right: -5%;
  width: 35%;
  height: 1px;
  background: linear-gradient(270deg, transparent, rgba(71, 244, 99, 0.15) 40%, rgba(0, 178, 255, 0.1) 70%, transparent);
  opacity: 0.5;
  animation: contrail-drift 12s ease-in-out infinite 3s;
  transform: rotate(2deg);
}

@keyframes contrail-drift {
  0%, 100% { transform: translateX(0) rotate(-3deg); opacity: 0.4; }
  50% { transform: translateX(40px) rotate(-1deg); opacity: 0.7; }
}

/* Scroll-triggered counter animation placeholder */
.stat-value,
.home-stat-value {
  transition: all 0.6s var(--fv-ease-bounce);
}

/* Enhanced section transitions - overlap effect */
.modern-cta {
  position: relative;
  z-index: 2;
}

/* Image reveal on scroll */
.product-visual img,
.feature-visual img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--fv-ease), transform 0.5s ease, box-shadow 0.5s ease;
}

/* Custom selection color */
::selection {
  background: rgba(0, 178, 255, 0.15);
  color: var(--fv-text);
}

/* Smooth page load */
body {
  animation: body-fade-in 0.4s ease;
}

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

/* ============================================
   Aviation Design Elements
   ============================================ */

/* Flight path divider - replaces generic dividers */
.aviation-divider {
  position: relative;
  height: 60px;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.aviation-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--fv-border) 20%, var(--fv-border) 80%, transparent 100%);
}

.aviation-divider .plane-icon {
  position: relative;
  z-index: 1;
  background: white;
  padding: 0 20px;
  color: var(--fv-accent);
  font-size: 18px;
  animation: fly-across 4s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes fly-across {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(8px) rotate(2deg); }
  75% { transform: translateX(-8px) rotate(-2deg); }
}

/* Cloud drift on section labels */
.section-label::before {
  animation: cloud-drift-bob 4s ease-in-out infinite !important;
}

/* Altitude lines - subtle horizontal rules in hero */
.intro-header {
  position: relative;
}

.intro-header .heading-jumbo {
  position: relative;
  z-index: 1;
}

/* Flight trail effect on CTA sections */
.modern-cta::before {
  background: radial-gradient(circle, rgba(0, 178, 255, 0.08) 0%, transparent 60%) !important;
}

.modern-cta::after {
  background: radial-gradient(circle, rgba(71, 244, 99, 0.06) 0%, transparent 60%) !important;
}

/* Cockpit instrument style for stat values */
.stat-value,
.home-stat-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Contrail decoration behind product visuals */
.product-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -30px;
  width: calc(100% + 60px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 178, 255, 0.15) 30%, rgba(0, 102, 255, 0.1) 60%, transparent);
  z-index: -1;
  transform: translateY(-50%) rotate(-2deg);
}

/* Waypoint dots on modern-divider */
.modern-divider {
  position: relative;
}

.modern-divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--fv-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.modern-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 1px solid var(--fv-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation: waypoint-ping 3s ease-out infinite;
}

@keyframes waypoint-ping {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* HUD-style corners on cards on hover */
.contact-form::before,
.contact-form::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form {
  position: relative;
}

.contact-form::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--fv-accent);
  border-left: 2px solid var(--fv-accent);
  border-radius: 4px 0 0 0;
}

.contact-form::after {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid var(--fv-green);
  border-right: 2px solid var(--fv-green);
  border-radius: 0 0 4px 0;
}

.contact-form:focus-within::before,
.contact-form:focus-within::after {
  opacity: 0.5;
}

/* Heading accent line - flight path style */
.section-title::after {
  content: none;
}

/* ============================================
   Timeline — Unified navy (override Webflow #0a0a0a)
   ============================================ */
.section-timeline {
  background-color: #0f172a !important;
}

.section-timeline .overlay-fade-bottom {
  background-image: linear-gradient(to top, #0f172a, transparent) !important;
}

.section-timeline .overlay-fade-top {
  background-image: linear-gradient(#0f172a, transparent) !important;
}

.section-timeline .timeline_circle {
  box-shadow: 0 0 0 8px #0f172a !important;
}

.section-timeline-cta {
  background-color: #0f172a !important;
}

.section-timeline-heading {
  background-color: #0f172a !important;
}

/* Timeline asset cards — match unified navy palette */
.section-timeline .timeline_image-wrapper {
  background-image: linear-gradient(138deg, #0f172a, transparent 28%), linear-gradient(170deg, #162032 0%, #1a2d4a 50%, #0f172a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-timeline .timeline_quote-wrapper {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(15, 23, 42, 0.4) !important;
}

/* Horizon line in footer */
.section-8::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00b2ff 30%, #0066ff 50%, #47f463 70%, transparent);
  opacity: 0.4;
}

/* Aviation grid pattern for alt-bg sections */
.alt-bg {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 178, 255, 0.03) 1px, transparent 0) !important;
  background-size: 40px 40px !important;
}

/* Dashed flight path connector between sections */
.product-section + .product-section::before {
  content: '';
  display: block;
  width: 2px;
  height: 40px;
  margin: 0 auto;
  background: repeating-linear-gradient(
    to bottom,
    var(--fv-accent) 0px,
    var(--fv-accent) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.2;
  position: relative;
  top: -20px;
}

/* Animated compass/bearing indicator on section labels */
.section-label {
  position: relative;
}

/* Wingtip vortex effect on hero text */
.heading-jumbo {
  text-shadow: 0 0 60px rgba(0, 178, 255, 0.08);
}

/* ============================================
   Gradient Hero — Oxaley-inspired
   Dark sky hero with radial blue glow fading to white
   ============================================ */

/* Subpage hero — use original background image with dark overlay */
.intro-header.cc-subpage {
  position: relative;
  overflow: hidden;
}

/* Dark overlay to ensure text readability over the photo */
.intro-header.cc-subpage::after {
  content: '' !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(255, 255, 255, 0.7) 100%) !important;
  z-index: 1;
  pointer-events: none;
  animation: none !important;
  transform: none !important;
  width: 100% !important;
  opacity: 1 !important;
}

/* Make heading text pop over the overlay */
.intro-header.cc-subpage .intro-content {
  z-index: 2;
  position: relative;
}

.intro-header.cc-subpage .heading-jumbo {
  color: white !important;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

/* Scrolled navbar adapts to dark hero */
.cloud-navbar-2 .navigation-link {
  transition: color 0.3s ease;
}

/* Remove background-attachment:fixed on subpage hero for smoother scroll */
.intro-header.cc-subpage {
  background-attachment: scroll !important;
}

