/**
 * OpenSources.Work Global Styles
 * Version: 3.0.0 — Maximum visual impact
 * Gradient animations, glassmorphism, 3D transforms, scroll reveals
 */

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Background Colors */
  --osw-bg-primary: #040b16;
  --osw-bg-secondary: #0a1628;
  --osw-bg-surface: #0f2035;
  --osw-bg-card: rgba(10, 22, 40, 0.9);

  /* Brand Accent Colors */
  --osw-accent-primary: #00E5A0;
  --osw-accent-primary-light: #00B8D4;
  --osw-accent-cta: #e04b2a;
  --osw-accent-cta-hover: #FF6B4A;
  --osw-accent-secondary: #3b82f6;
  --osw-accent-purple: #a855f7;

  /* Text Colors */
  --osw-text-primary: #f1f6ff;
  --osw-text-secondary: #96adcc;
  --osw-text-accent: #00E5A0;
  --osw-text-highlight: #00E5A0;

  /* Border Colors */
  --osw-border-subtle: rgba(0, 229, 160, 0.12);
  --osw-border-accent: rgba(0, 229, 160, 0.30);
  --osw-border-card: rgba(0, 229, 160, 0.08);
  --osw-border-glow: rgba(0, 229, 160, 0.4);

  /* Standardized Gradients */
  --osw-gradient-hero: radial-gradient(ellipse at 30% 0%, rgba(0,229,160,0.10) 0%, transparent 50%),
                       radial-gradient(ellipse at 70% 100%, rgba(255,107,74,0.06) 0%, transparent 50%);
  --osw-gradient-section: linear-gradient(180deg, var(--osw-bg-secondary) 0%, var(--osw-bg-primary) 100%);
  --osw-gradient-card: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(6, 14, 30, 0.98) 100%);
  --osw-gradient-cta: linear-gradient(135deg, #FF6B4A, #FF8F6B);
  --osw-gradient-teal: linear-gradient(135deg, #00E5A0, #00B8D4);
  --osw-gradient-text: linear-gradient(135deg, #00E5A0 0%, #00B8D4 50%, #FF6B4A 100%);
  --osw-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  --osw-gradient-mesh:
    radial-gradient(at 20% 20%, rgba(0, 229, 160, 0.08) 0%, transparent 50%),
    radial-gradient(at 80% 80%, rgba(255, 107, 74, 0.06) 0%, transparent 50%),
    radial-gradient(at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  --osw-gradient-border: linear-gradient(135deg, rgba(0,229,160,0.4), rgba(0,184,212,0.2), rgba(255,107,74,0.4));

  /* Spacing */
  --osw-spacing-xs: 6px;
  --osw-spacing-sm: 10px;
  --osw-spacing-md: 14px;
  --osw-spacing-lg: 20px;
  --osw-spacing-xl: 24px;
  --osw-spacing-2xl: 32px;
  --osw-spacing-3xl: 48px;
  --osw-spacing-4xl: 64px;

  /* Border Radius */
  --osw-radius-sm: 8px;
  --osw-radius-md: 14px;
  --osw-radius-lg: 18px;
  --osw-radius-xl: 24px;
  --osw-radius-full: 999px;

  /* Transitions */
  --osw-transition-fast: 0.15s ease;
  --osw-transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --osw-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --osw-transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --osw-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --osw-shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 160, 0.2);
  --osw-shadow-glow-teal: 0 0 30px rgba(0, 229, 160, 0.2), 0 0 60px rgba(0, 229, 160, 0.08);
  --osw-shadow-glow-coral: 0 0 30px rgba(255, 107, 74, 0.2), 0 0 60px rgba(255, 107, 74, 0.08);
  --osw-shadow-glow-intense: 0 0 40px rgba(0, 229, 160, 0.25), 0 0 80px rgba(0, 229, 160, 0.1), 0 0 120px rgba(0, 229, 160, 0.05);
  --osw-shadow-depth: 0 1px 2px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2), 0 16px 32px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Global Base
   ========================================================================== */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 229, 160, 0.25);
  color: #f1f6ff;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   ANIMATIONS — Complete System
   ========================================================================== */

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

@keyframes osw-fade-in-down {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes osw-fade-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes osw-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes osw-pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

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

@keyframes osw-float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-6px) rotate(1deg); }
  66% { transform: translateY(3px) rotate(-0.5deg); }
}

@keyframes osw-draw-line {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

@keyframes osw-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes osw-gradient-rotate {
  0% { --osw-angle: 0deg; }
  100% { --osw-angle: 360deg; }
}

@keyframes osw-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes osw-text-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes osw-border-flow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes osw-glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 160, 0.1); }
  50% { box-shadow: 0 0 40px rgba(0, 229, 160, 0.2), 0 0 80px rgba(0, 229, 160, 0.1); }
}

@keyframes osw-number-pop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes osw-slide-in-bottom {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes osw-orbit {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes osw-ripple {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ==========================================================================
   HERO BACKGROUND ANIMATIONS
   Striking, CSS-only animated backgrounds for hero sections.
   Three techniques layered: blob morphing orbs, pulsing dot grid, and
   animated gradient mesh. Applied to .osw-hero-full and its children.
   ========================================================================== */

/* --- Blob morph: orbs change shape as they float --- */
@keyframes osw-blob-morph {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(0, 0) scale(1);
  }
  25% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    transform: translate(30px, -25px) scale(1.08);
  }
  50% {
    border-radius: 50% 60% 30% 60% / 50% 30% 45% 55%;
    transform: translate(-25px, 20px) scale(0.95);
  }
  75% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate(15px, 15px) scale(1.03);
  }
}

@keyframes osw-blob-morph-alt {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) scale(1);
  }
  33% {
    border-radius: 40% 60% 60% 40% / 70% 40% 50% 60%;
    transform: translate(-20px, 30px) scale(1.05);
  }
  66% {
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
    transform: translate(25px, -15px) scale(0.97);
  }
}

/* --- Gradient mesh drift: large gradient layers move slowly --- */
@keyframes osw-mesh-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(3%, -4%) rotate(2deg); }
  50% { transform: translate(-2%, 3%) rotate(-1deg); }
  75% { transform: translate(4%, 1%) rotate(1.5deg); }
}

@keyframes osw-mesh-drift-reverse {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-4%, 3%) rotate(-2deg); }
  66% { transform: translate(3%, -3%) rotate(1deg); }
}

/* --- Grid pulse: dot grid opacity waves --- */
@keyframes osw-grid-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* --- Particle float: subtle upward drift of scattered dots --- */
@keyframes osw-particle-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-80vh) scale(0.5); opacity: 0; }
}

/* Enhanced orb animation — blob morphing replaces simple float */
.osw-hero-full .osw-orb {
  animation: osw-blob-morph 18s ease-in-out infinite !important;
  will-change: transform, border-radius;
}
.osw-hero-full .osw-orb:nth-child(even) {
  animation-name: osw-blob-morph-alt !important;
  animation-duration: 22s !important;
}
.osw-hero-full .osw-orb:nth-child(3n) {
  animation-duration: 25s !important;
  animation-direction: reverse !important;
}

/* Enhanced grid-bg — pulsing dot opacity */
.osw-hero-full .osw-grid-bg::before {
  animation: osw-grid-pulse 8s ease-in-out infinite;
}

/* Animated gradient mesh overlay via grid-bg ::after */
.osw-hero-full .osw-grid-bg::after {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(0,229,160,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 75% 65%, rgba(255,107,74,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 600px at 45% 85%, rgba(0,184,212,0.05) 0%, transparent 70%);
  animation: osw-mesh-drift 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Second gradient mesh layer via noise ::before */
.osw-hero-full .osw-noise::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 500px 350px at 80% 25%, rgba(0,229,160,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 350px 500px at 25% 75%, rgba(168,85,247,0.04) 0%, transparent 70%);
  animation: osw-mesh-drift-reverse 30s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Floating particle dots via scattered box-shadows */
.osw-hero-full::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  top: 20%;
  left: 50%;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    -400px 100px 0 rgba(0,229,160,0.5),
    -250px -80px 0 rgba(0,229,160,0.3),
    -100px 200px 0 rgba(0,184,212,0.4),
    50px -150px 0 rgba(0,229,160,0.35),
    200px 80px 0 rgba(255,107,74,0.3),
    350px -50px 0 rgba(0,184,212,0.3),
    -350px -200px 0 rgba(0,229,160,0.25),
    150px 250px 0 rgba(0,184,212,0.35),
    -200px 300px 0 rgba(255,107,74,0.25),
    400px 200px 0 rgba(0,229,160,0.3),
    -450px 50px 0 rgba(0,184,212,0.2),
    300px -180px 0 rgba(0,229,160,0.4),
    -150px -300px 0 rgba(255,107,74,0.2),
    500px 100px 0 rgba(0,229,160,0.25),
    -300px 400px 0 rgba(0,184,212,0.3);
  animation: osw-float-slow 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

/* Disable heavy animations on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .osw-hero-full .osw-orb,
  .osw-hero-full .osw-grid-bg::before,
  .osw-hero-full .osw-grid-bg::after,
  .osw-hero-full .osw-noise::before,
  .osw-hero-full::after {
    animation: none !important;
  }
}

/* Disable on mobile for performance */
@media (max-width: 768px) {
  .osw-hero-full .osw-grid-bg::after,
  .osw-hero-full .osw-noise::before,
  .osw-hero-full::after {
    display: none;
  }
  .osw-hero-full .osw-orb {
    animation-duration: 30s !important;
  }
}

/* ==========================================================================
   SECTION VARIETY — Break visual repetitiveness
   Uses :nth-of-type selectors so no page JSON changes needed.
   Adds gradient backgrounds, varied padding, accent borders.
   ========================================================================== */

/* Every 3rd section gets a subtle mesh gradient instead of flat color */
section:nth-of-type(3n+2):not(.osw-hero-full):not(.osw-cta-section) {
  background-image:
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0,229,160,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(255,107,74,0.02) 0%, transparent 70%) !important;
}

/* Every 4th section gets a top-left accent glow */
section:nth-of-type(4n+3):not(.osw-hero-full) {
  background-image:
    radial-gradient(ellipse 30% 40% at 5% 0%, rgba(0,184,212,0.04) 0%, transparent 70%) !important;
}

/* Varied vertical padding — break the 80px monotony */
section:nth-of-type(3n+1):not(.osw-hero-full):not(.osw-cta-section) {
  padding-top: 96px;
  padding-bottom: 96px;
}
section:nth-of-type(5n):not(.osw-hero-full):not(.osw-cta-section) {
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: 768px) {
  section:nth-of-type(3n+1):not(.osw-hero-full):not(.osw-cta-section),
  section:nth-of-type(5n):not(.osw-hero-full):not(.osw-cta-section) {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ==========================================================================
   ICON SIZING — Make card icons more prominent
   Icons in cards are 28-36px by default. Scale them up for better
   visual weight and vertical space usage.
   ========================================================================== */

/* Icon wrapper — scale up SVGs in cards */
.osw-icon-wrap svg {
  width: 48px !important;
  height: 48px !important;
}
.osw-icon-wrap {
  margin-bottom: 20px;
}

/* Icons without wrapper class — target by context */
[class*="osw-glass"] svg,
[class*="osw-card"] svg {
  width: 44px !important;
  height: 44px !important;
}

/* ==========================================================================
   SCROLL REVEAL SYSTEM
   Elements with .osw-reveal start hidden, become visible on scroll
   ========================================================================== */

.osw-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

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

/* Stagger delays for grid children */
.osw-stagger > *:nth-child(1) { transition-delay: 0s; }
.osw-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.osw-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.osw-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.osw-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.osw-stagger > *:nth-child(6) { transition-delay: 0.5s; }
.osw-stagger > *:nth-child(7) { transition-delay: 0.6s; }
.osw-stagger > *:nth-child(8) { transition-delay: 0.7s; }
.osw-stagger > *:nth-child(9) { transition-delay: 0.8s; }

/* ==========================================================================
   GRADIENT TEXT
   ========================================================================== */

.osw-gradient-text {
  background: var(--osw-gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: osw-gradient-shift 6s ease infinite;
}

.osw-gradient-text-teal {
  background: linear-gradient(135deg, #00E5A0, #00B8D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.osw-gradient-text-coral {
  background: linear-gradient(135deg, #FF6B4A, #FF8F6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.osw-shimmer-text {
  background: linear-gradient(90deg, #f1f6ff 0%, #00E5A0 25%, #f1f6ff 50%, #FF6B4A 75%, #f1f6ff 100%);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: osw-shimmer 8s linear infinite;
}

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

.osw-glass {
  background: rgba(10, 22, 40, 0.6) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.osw-glass-strong {
  background: rgba(10, 22, 40, 0.75) !important;
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   ANIMATED BORDER CARDS
   ========================================================================== */

.osw-border-glow {
  position: relative;
  background: var(--osw-gradient-card);
  border: 1px solid transparent;
  border-radius: var(--osw-radius-lg);
  overflow: hidden;
}

.osw-border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0,229,160,0.3), transparent 40%, transparent 60%, rgba(255,107,74,0.3));
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: osw-border-flow 8s ease infinite;
}

.osw-border-glow::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--osw-gradient-card);
  border-radius: calc(var(--osw-radius-lg) - 1px);
  z-index: -1;
}

/* Animated gradient border — top only */
.osw-accent-top {
  position: relative;
  overflow: hidden;
}

.osw-accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00E5A0, #00B8D4, #FF6B4A, #FF8F6B, #00E5A0);
  background-size: 200% 100%;
  animation: osw-gradient-shift 4s linear infinite;
}

/* ==========================================================================
   CARD HOVER EFFECTS — 3D Tilt + Glow
   ========================================================================== */

/* Every card with 18px radius gets the premium hover */
[style*="borderRadius: 18px"][style*="border: 1px solid"] {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  will-change: transform;
}

[style*="borderRadius: 18px"][style*="border: 1px solid"]:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 229, 160, 0.25) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(0, 229, 160, 0.15),
              0 0 40px rgba(0, 229, 160, 0.08);
}

/* Cards with 14px radius */
[style*="borderRadius: 14px"][style*="border: 1px solid"] {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
}

[style*="borderRadius: 14px"][style*="border: 1px solid"]:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.2) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35),
              0 0 30px rgba(0, 229, 160, 0.06);
}

/* ==========================================================================
   BUTTON SYSTEM — Maximum Impact
   ========================================================================== */

/* Primary CTA — Coral gradient with glow */
.osw-cta-coral,
a[style*="background: linear-gradient(135deg, #FF6B4A"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              filter 0.3s ease;
}

.osw-cta-coral::before,
a[style*="background: linear-gradient(135deg, #FF6B4A"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.osw-cta-coral:hover,
a[style*="background: linear-gradient(135deg, #FF6B4A"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 107, 74, 0.35),
              0 0 60px rgba(255, 107, 74, 0.15);
  filter: brightness(1.1);
}

.osw-cta-coral:hover::before,
a[style*="background: linear-gradient(135deg, #FF6B4A"]:hover::before {
  opacity: 1;
}

.osw-cta-coral:active,
a[style*="background: linear-gradient(135deg, #FF6B4A"]:active {
  transform: translateY(0) scale(0.98);
}

/* Teal outline buttons */
.osw-cta-teal-outline,
a[style*="border: 1px solid rgba(0, 229, 160"] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.osw-cta-teal-outline:hover,
a[style*="border: 1px solid rgba(0, 229, 160"]:hover {
  border-color: var(--osw-accent-primary) !important;
  background: rgba(0, 229, 160, 0.08) !important;
  color: var(--osw-text-primary) !important;
  box-shadow: 0 0 30px rgba(0, 229, 160, 0.12);
  transform: translateY(-1px);
}

/* Ghost CTA */
.osw-cta-ghost {
  background: rgba(0, 229, 160, 0.06) !important;
  color: var(--osw-accent-primary) !important;
  font-weight: 500 !important;
  border: 1px solid rgba(0, 229, 160, 0.12) !important;
  border-radius: var(--osw-radius-md) !important;
  padding: 14px 28px !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.osw-cta-ghost:hover {
  background: rgba(0, 229, 160, 0.12) !important;
  border-color: var(--osw-border-accent) !important;
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.08);
}

/* Legacy: remap old blue buttons */
.osw-cta-primary,
[style*="background: #3b82f6"][style*="borderRadius: 14px"] {
  background: var(--osw-gradient-cta) !important;
  color: #040b16 !important;
  font-weight: 600 !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.osw-cta-primary:hover,
[style*="background: #3b82f6"][style*="borderRadius: 14px"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--osw-shadow-glow-coral);
  filter: brightness(1.1);
}

/* Secondary transparent buttons */
[style*="background: transparent"][style*="border: 1px solid"] {
  transition: all 0.3s ease;
}

[style*="background: transparent"][style*="border: 1px solid"]:hover {
  border-color: var(--osw-accent-primary) !important;
  color: var(--osw-text-primary) !important;
  background: rgba(0, 229, 160, 0.06) !important;
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.08);
}

/* ==========================================================================
   DECORATIVE ELEMENTS
   ========================================================================== */

/* Gradient section divider */
.osw-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,160,0.3) 20%, rgba(0,184,212,0.3) 50%, rgba(255,107,74,0.3) 80%, transparent);
  border: none;
  margin: 0;
}

/* Animated dot grid background */
.osw-dot-grid {
  background-image: radial-gradient(rgba(0, 229, 160, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Noise texture overlay */
.osw-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Glowing orb decorations */
.osw-orb-teal {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: osw-float-slow 12s ease-in-out infinite;
}

.osw-orb-coral {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.10) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: osw-float-slow 10s ease-in-out infinite reverse;
}

/* ==========================================================================
   SECTION BACKGROUNDS — Animated Meshes
   ========================================================================== */

.osw-home-hero,
section[class*="hero"] {
  background: var(--osw-gradient-hero) !important;
  position: relative;
}

.osw-section-gradient {
  background: var(--osw-gradient-section) !important;
}

.osw-mesh-bg {
  position: relative;
  background: var(--osw-gradient-mesh), var(--osw-bg-primary);
  overflow: hidden;
}

/* ==========================================================================
   BADGE STYLING
   ========================================================================== */

.osw-eyebrow-badge,
.osw-badge-teal,
[style*="borderRadius: 999px"][style*="rgba(0, 229, 160"] {
  transition: all 0.3s ease;
}

.osw-badge-teal {
  background: rgba(0, 229, 160, 0.1) !important;
  border: 1px solid rgba(0, 229, 160, 0.2) !important;
  color: var(--osw-accent-primary) !important;
  padding: var(--osw-spacing-xs) var(--osw-spacing-md) !important;
  border-radius: var(--osw-radius-full) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

[style*="borderRadius: 999px"][style*="rgba(0, 229, 160"]:hover {
  background: rgba(0, 229, 160, 0.15) !important;
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.1);
}

/* ==========================================================================
   METRIC / SOCIAL PROOF CARDS
   ========================================================================== */

.osw-metric-card {
  background: var(--osw-gradient-card) !important;
  border: 1px solid var(--osw-border-card) !important;
  border-radius: var(--osw-radius-lg) !important;
  padding: var(--osw-spacing-xl) !important;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.osw-metric-card:hover {
  border-color: var(--osw-border-accent) !important;
  box-shadow: var(--osw-shadow-glow-teal);
  transform: translateY(-4px);
}

.osw-metric-value {
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--osw-accent-primary) !important;
  line-height: 1.1 !important;
}

.osw-metric-label {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--osw-text-secondary) !important;
  margin-top: 8px !important;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   NAV HEADER — Glassmorphism
   ========================================================================== */

header[style*="position: sticky"],
[style*="position: sticky"][style*="backdrop"] {
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
  border-bottom: 1px solid rgba(0, 229, 160, 0.06) !important;
  transition: all 0.3s ease;
}

/* Nav links hover effect */
nav a[style*="color: #96adcc"] {
  position: relative;
  transition: color 0.3s ease;
}

nav a[style*="color: #96adcc"]:hover {
  color: #f1f6ff !important;
}

nav a[style*="color: #96adcc"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00E5A0, #00B8D4);
  transition: width 0.3s ease;
}

nav a[style*="color: #96adcc"]:hover::after {
  width: 100%;
}

/* ==========================================================================
   LINK STYLES
   ========================================================================== */

/* "Read more" and arrow links */
[style*="font-weight: 600"][style*="fontSize: 13px"] {
  transition: all 0.3s ease;
}

[style*="font-weight: 600"][style*="fontSize: 13px"]:hover {
  transform: translateX(4px);
}

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

footer a {
  transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover {
  color: #00E5A0 !important;
  transform: translateX(2px);
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  background: rgba(10, 22, 40, 0.8) !important;
  border: 1px solid var(--osw-border-subtle) !important;
  border-radius: var(--osw-radius-md) !important;
  color: var(--osw-text-primary) !important;
  padding: 12px 14px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--osw-accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1), 0 0 20px rgba(0, 229, 160, 0.06) !important;
  outline: none !important;
  background: rgba(10, 22, 40, 0.95) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--osw-text-secondary);
  opacity: 0.6;
}

/* ==========================================================================
   SVG ICON SYSTEM
   ========================================================================== */

.osw-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.osw-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.osw-icon-float {
  animation: osw-float 4s ease-in-out infinite;
}

.osw-icon path[stroke-dasharray] {
  animation: osw-draw-line 1.5s ease both;
}

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

/* Phones */
@media (max-width: 480px) {
  h1, [style*="fontSize: 56px"], [style*="fontSize: 52px"], [style*="fontSize: 48px"] {
    font-size: clamp(28px, 7vw, 36px) !important;
  }

  h2, [style*="fontSize: 42px"], [style*="fontSize: 38px"], [style*="fontSize: 36px"] {
    font-size: clamp(24px, 6vw, 30px) !important;
  }

  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  [style*="gridTemplateColumns: repeat(2"],
  [style*="gridTemplateColumns: repeat(3"],
  [style*="gridTemplateColumns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  [style*="paddingTop: 120px"] {
    padding-top: 80px !important;
  }

  [style*="paddingTop: 80px"] {
    padding-top: 56px !important;
  }

  [style*="paddingBottom: 80px"] {
    padding-bottom: 56px !important;
  }
}

/* Landscape phones */
@media (min-width: 481px) and (max-width: 640px) {
  h1, [style*="fontSize: 56px"], [style*="fontSize: 52px"] {
    font-size: clamp(32px, 8vw, 42px) !important;
  }

  section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  [style*="gridTemplateColumns: repeat(3"],
  [style*="gridTemplateColumns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}

/* Tablets */
@media (min-width: 641px) and (max-width: 768px) {
  h1 {
    font-size: clamp(38px, 6vw, 48px) !important;
  }

  [style*="gridTemplateColumns: repeat(2"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  [style*="gridTemplateColumns: repeat(3"],
  [style*="gridTemplateColumns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* Small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
  [style*="maxWidth: 1200px"],
  [style*="maxWidth: 1100px"] {
    max-width: 100% !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  [style*="gap: 60px"] {
    gap: 40px !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--osw-accent-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .osw-reveal, .osw-reveal-left, .osw-reveal-right, .osw-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --osw-border-subtle: rgba(0, 229, 160, 0.35);
    --osw-border-accent: rgba(0, 229, 160, 0.55);
    --osw-text-secondary: #b8cee8;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.osw-animate-in { animation: osw-fade-in-up 0.6s ease both; }
.osw-animate-float { animation: osw-float 4s ease-in-out infinite; }
.osw-animate-pulse { animation: osw-glow-pulse 3s ease-in-out infinite; }
.osw-animate-spin { animation: osw-spin-slow 20s linear infinite; }

/* Text utilities */
.osw-text-glow { text-shadow: 0 0 20px rgba(0, 229, 160, 0.3); }
.osw-text-glow-coral { text-shadow: 0 0 20px rgba(255, 107, 74, 0.3); }

/* Cursor glow follower (set via JS) */
.osw-cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   v4.0 — STORYBRAND VISUAL ENHANCEMENTS (2026-02-15)
   ========================================================================== */

/* ---------- 1. Animated dot grid background ---------- */
.osw-grid-bg {
  position: relative;
}
.osw-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 229, 160, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: osw-grid-drift 20s linear infinite;
}
@keyframes osw-grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 32px 32px; }
}

/* ---------- 2. Card shine/gloss effect ---------- */
.osw-card-shine {
  position: relative;
  overflow: hidden;
}
.osw-card-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}
.osw-card-shine:hover::after {
  transform: translateX(100%);
}

/* ---------- 3. Staggered reveal delays ---------- */
.osw-stagger-1 { animation-delay: 0.1s !important; }
.osw-stagger-2 { animation-delay: 0.2s !important; }
.osw-stagger-3 { animation-delay: 0.3s !important; }
.osw-stagger-4 { animation-delay: 0.4s !important; }
.osw-stagger-5 { animation-delay: 0.5s !important; }
.osw-stagger-6 { animation-delay: 0.6s !important; }
.osw-stagger-7 { animation-delay: 0.7s !important; }
.osw-stagger-8 { animation-delay: 0.8s !important; }

/* ---------- 4. Glow pulse on metrics ---------- */
.osw-glow-pulse {
  animation: osw-metric-glow 2.5s ease-in-out infinite;
}
@keyframes osw-metric-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(0, 229, 160, 0.2); }
  50% { text-shadow: 0 0 25px rgba(0, 229, 160, 0.5), 0 0 50px rgba(0, 229, 160, 0.15); }
}
.osw-glow-pulse-coral {
  animation: osw-metric-glow-coral 2.5s ease-in-out infinite;
}
@keyframes osw-metric-glow-coral {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 107, 74, 0.2); }
  50% { text-shadow: 0 0 25px rgba(255, 107, 74, 0.5), 0 0 50px rgba(255, 107, 74, 0.15); }
}

/* ---------- 5. Accent line draw animation ---------- */
.osw-accent-draw {
  position: relative;
}
.osw-accent-draw::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, #00E5A0, #00B8D4);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1px;
}
.osw-accent-draw.osw-visible::after {
  width: 60px;
}
.osw-accent-draw-long.osw-visible::after {
  width: 120px;
}

/* ---------- 6. Noise texture overlay ---------- */
.osw-noise {
  position: relative;
}
.osw-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ---------- 7. Section wave dividers ---------- */
.osw-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, #040b16 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
  z-index: 2;
}
.osw-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(0deg, #040b16 0%, transparent 100%);
  clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%);
  z-index: 2;
}

/* ---------- 8. Floating particle dots ---------- */
.osw-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.osw-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.3);
  animation: osw-particle-float 8s ease-in-out infinite;
}
.osw-particle:nth-child(2) { animation-delay: -2s; animation-duration: 10s; background: rgba(255, 107, 74, 0.25); }
.osw-particle:nth-child(3) { animation-delay: -4s; animation-duration: 12s; background: rgba(0, 184, 212, 0.25); }
.osw-particle:nth-child(4) { animation-delay: -1s; animation-duration: 9s; }
.osw-particle:nth-child(5) { animation-delay: -3s; animation-duration: 11s; background: rgba(255, 107, 74, 0.2); }
@keyframes osw-particle-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(-100px) translateX(30px); }
}

/* ---------- 9. Decorative quote marks ---------- */
.osw-blockquote {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid rgba(0, 229, 160, 0.2);
}
.osw-blockquote::before {
  content: '\201C';
  position: absolute;
  left: -5px;
  top: -20px;
  font-size: 80px;
  font-weight: 700;
  color: rgba(0, 229, 160, 0.1);
  line-height: 1;
  font-family: Georgia, serif;
}

/* ---------- 10. Before/after comparison layout ---------- */
.osw-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.osw-compare-before {
  border: 1px solid rgba(255, 107, 74, 0.15);
  border-radius: 18px;
  padding: 32px 28px;
  background: rgba(255, 107, 74, 0.03);
  position: relative;
}
.osw-compare-after {
  border: 1px solid rgba(0, 229, 160, 0.15);
  border-radius: 18px;
  padding: 32px 28px;
  background: rgba(0, 229, 160, 0.03);
  position: relative;
}
@media (max-width: 768px) {
  .osw-compare { grid-template-columns: 1fr; }
}

/* ---------- 11. Section gradient divider ---------- */
.osw-section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 229, 160, 0.15) 25%,
    rgba(0, 229, 160, 0.25) 40%,
    rgba(255, 107, 74, 0.25) 60%,
    rgba(255, 107, 74, 0.15) 75%,
    transparent
  );
  margin: 0;
}

/* ---------- 12. Pain-point card grid ---------- */
.osw-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .osw-pain-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .osw-pain-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 13. Step flow connector lines ---------- */
.osw-step-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.osw-step-flow::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(180deg, #00E5A0, #00B8D4, #FF6B4A);
  opacity: 0.2;
}

/* ---------- 14. Floating orb (reusable) ---------- */
.osw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: osw-float 6s ease-in-out infinite;
}
.osw-orb-teal {
  background: radial-gradient(circle, rgba(0, 229, 160, 0.15) 0%, transparent 70%);
}
.osw-orb-coral {
  background: radial-gradient(circle, rgba(255, 107, 74, 0.12) 0%, transparent 70%);
}
.osw-orb-blue {
  background: radial-gradient(circle, rgba(0, 184, 212, 0.1) 0%, transparent 70%);
}
.osw-orb-sm { width: 150px; height: 150px; }
.osw-orb-md { width: 250px; height: 250px; }
.osw-orb-lg { width: 400px; height: 400px; }

/* ---------- 15. Metric counter number style ---------- */
.osw-metric-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(135deg, #00E5A0, #00B8D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.osw-metric-number-coral {
  background: linear-gradient(135deg, #FF6B4A, #FF8F6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.osw-metric-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--osw-text-secondary, #96adcc);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* ========================================================
   v5.0 — COMPLETE REBUILD FOUNDATION (2026-02-15)
   ======================================================== */

/* ---------- 16. Full-viewport hero ---------- */
.osw-hero-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
@media (max-width: 768px) {
  .osw-hero-full { padding: 100px 16px 48px; min-height: auto; }
}

/* ---------- 17. Form inputs (dark themed) ---------- */
.osw-input {
  width: 100%;
  background: rgba(4, 11, 22, 0.8);
  border: 1px solid rgba(0, 229, 160, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #f1f6ff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.osw-input::placeholder { color: rgba(150, 173, 204, 0.5); }
.osw-input:focus {
  border-color: #00E5A0;
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1), 0 0 20px rgba(0, 229, 160, 0.05);
}
.osw-input-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #96adcc;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
select.osw-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2396adcc' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea.osw-input { resize: vertical; min-height: 80px; }

/* ---------- 18. Form card (glassmorphic) ---------- */
.osw-form-card {
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 229, 160, 0.12);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.osw-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E5A0 30%, #00B8D4 50%, #00E5A0 70%, transparent);
}

/* ---------- 19. Scroll indicator ---------- */
.osw-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(0, 229, 160, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.osw-scroll-indicator::after {
  content: '';
  width: 4px;
  height: 8px;
  background: #00E5A0;
  border-radius: 2px;
  animation: osw-scroll-bounce 2s infinite;
}
@keyframes osw-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ---------- 20. FAQ accordion ---------- */
.osw-faq-item {
  border-bottom: 1px solid rgba(0, 229, 160, 0.06);
}
.osw-faq-q,
.osw-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #f1f6ff;
  transition: color 0.3s;
  user-select: none;
}
.osw-faq-q:hover,
.osw-faq-question:hover { color: #00E5A0; }
.osw-faq-q::after {
  content: '+';
  font-size: 22px;
  color: #00E5A0;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.osw-faq-item.open .osw-faq-q::after {
  transform: rotate(45deg);
}
/* Rotate the inline + span when open */
.osw-faq-item.open .osw-faq-toggle {
  transform: rotate(45deg);
  display: inline-block;
}
.osw-faq-a,
.osw-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 15px;
  color: #96adcc;
  line-height: 1.7;
}
.osw-faq-item.open .osw-faq-a,
.osw-faq-item.open .osw-faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* ---------- 21. Comparison table ---------- */
.osw-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.osw-table th {
  background: rgba(0, 229, 160, 0.06);
  color: #00E5A0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 229, 160, 0.12);
}
.osw-table th:first-child { border-radius: 12px 0 0 0; }
.osw-table th:last-child { border-radius: 0 12px 0 0; }
.osw-table td {
  padding: 14px 16px;
  color: #96adcc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.osw-table tr:hover td { background: rgba(0, 229, 160, 0.02); }
.osw-table td:first-child { color: #f1f6ff; font-weight: 500; }
.osw-table .osw-table-highlight {
  color: #00E5A0;
  font-weight: 700;
}

/* ---------- 21b. Responsive comparison table (pricing page) ---------- */
/* Wraps wide tables in a scrollable container on small screens */
section table {
  width: 100%;
  border-collapse: collapse;
}
@media (max-width: 900px) {
  /* Make the table wrapper scrollable */
  section > div:has(> table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  section table {
    min-width: 700px;
  }
  section table th,
  section table td {
    padding: 10px 8px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  section table th:first-child,
  section table td:first-child {
    position: sticky;
    left: 0;
    background: #0a1628;
    z-index: 1;
    white-space: normal;
  }
}
@media (max-width: 576px) {
  section table {
    min-width: 600px;
  }
  section table th,
  section table td {
    padding: 8px 6px !important;
    font-size: 11px !important;
  }
}

/* ---------- 22. Timeline connector ---------- */
.osw-timeline {
  position: relative;
  padding-left: 32px;
}
.osw-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #00E5A0, rgba(0, 229, 160, 0.1));
}
.osw-timeline-dot {
  position: absolute;
  left: -24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00E5A0;
  box-shadow: 0 0 12px rgba(0, 229, 160, 0.4);
}

/* ---------- 23. Logo / industry bar ---------- */
.osw-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.osw-logo-bar-item {
  font-size: 13px;
  font-weight: 500;
  color: rgba(150, 173, 204, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

/* ---------- 24. Hero 2-column grid ---------- */
.osw-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .osw-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 25. Trust bar ---------- */
.osw-trust-bar {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.osw-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #96adcc;
}
.osw-trust-item strong {
  color: #00E5A0;
  font-weight: 700;
}

/* ---------- 26. Alternating case study cards ---------- */
.osw-alt-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}
.osw-alt-card:nth-child(even) { direction: rtl; }
.osw-alt-card:nth-child(even) > * { direction: ltr; }
@media (max-width: 768px) {
  .osw-alt-card, .osw-alt-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ---------- 27. Icon wrapper ---------- */
.osw-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 160, 0.06);
  border: 1px solid rgba(0, 229, 160, 0.1);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.osw-icon-wrap svg {
  width: 28px;
  height: 28px;
}
.osw-icon-wrap-coral {
  background: rgba(255, 107, 74, 0.06);
  border-color: rgba(255, 107, 74, 0.1);
}

/* ---------- 28. Section badge with icon ---------- */
.osw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 999px;
  padding: 8px 18px;
  color: #00E5A0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.osw-badge-coral {
  background: rgba(255, 107, 74, 0.08);
  border-color: rgba(255, 107, 74, 0.2);
  color: #FF6B4A;
}

/* ---------- 29. Form success state ---------- */
.osw-form-success {
  text-align: center;
  padding: 32px 16px;
}
.osw-form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #00E5A0;
}
.osw-form-success h3 { color: #f1f6ff; margin-bottom: 8px; }
.osw-form-success p { color: #96adcc; font-size: 15px; }

/* ---------- 30. CTA section styling ---------- */
.osw-cta-section {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.osw-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,160,0.2) 30%, rgba(255,107,74,0.2) 70%, transparent);
}
.osw-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- 31. Phase / step card ---------- */
.osw-phase-card {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(0, 229, 160, 0.06);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.osw-phase-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(0,229,160,0.12), rgba(0,184,212,0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 32. Pricing tier card ---------- */
.osw-tier-card {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(0, 229, 160, 0.06);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.osw-tier-card:hover {
  border-color: rgba(0, 229, 160, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.osw-tier-card-featured {
  border-color: rgba(0, 229, 160, 0.3);
  background: rgba(0, 229, 160, 0.04);
}
.osw-tier-name {
  font-size: 13px;
  font-weight: 600;
  color: #00E5A0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.osw-tier-price {
  font-size: 36px;
  font-weight: 800;
  color: #f1f6ff;
  line-height: 1;
  margin-bottom: 4px;
}
.osw-tier-period {
  font-size: 14px;
  color: #96adcc;
  margin-bottom: 20px;
}
.osw-tier-features {
  font-size: 14px;
  color: #96adcc;
  line-height: 1.7;
  text-align: left;
}
.osw-tier-features li {
  list-style: none;
  padding: 4px 0 4px 20px;
  position: relative;
}
.osw-tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00E5A0;
  font-weight: 600;
}

/* ---------- 33. Mobile nav ---------- */
@media (max-width: 768px) {
  .osw-nav-menu.osw-nav-open {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 11, 22, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 99;
  }
  .osw-nav-menu.osw-nav-open a {
    font-size: 20px !important;
    color: #f1f6ff !important;
  }
}

/* ---------- 34. Comparison columns ---------- */
.osw-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.osw-compare-card {
  background: rgba(10, 22, 40, 0.5);
  border-radius: 18px;
  padding: 32px 24px;
  border: 1px solid rgba(0, 229, 160, 0.06);
}
.osw-compare-card-coral {
  border-color: rgba(255, 107, 74, 0.2);
  background: rgba(255, 107, 74, 0.03);
}
.osw-compare-card-teal {
  border-color: rgba(0, 229, 160, 0.2);
  background: rgba(0, 229, 160, 0.03);
}
@media (max-width: 768px) {
  .osw-compare { grid-template-columns: 1fr; }
}

/* ---------- 35. Step / flow connector ---------- */
.osw-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.osw-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #00E5A0, #00B8D4, #FF6B4A);
  opacity: 0.15;
  z-index: 0;
}
.osw-flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .osw-flow { grid-template-columns: 1fr; }
  .osw-flow::before { display: none; }
}

/* ---------- 36. Callout / highlight box ---------- */
.osw-callout {
  background: rgba(0, 229, 160, 0.04);
  border-left: 3px solid #00E5A0;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.osw-callout-coral {
  background: rgba(255, 107, 74, 0.04);
  border-left-color: #FF6B4A;
}

/* ---------- 37. Checklist ---------- */
.osw-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.osw-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #96adcc;
  line-height: 1.5;
}
.osw-checklist-item::before {
  content: '✓';
  color: #00E5A0;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 768px) {
  .osw-checklist { grid-template-columns: 1fr; }
}

/* ---------- 38. Integration flow arrow ---------- */
.osw-flow-arrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid rgba(0, 229, 160, 0.06);
  border-radius: 12px;
  margin-bottom: 12px;
}
.osw-flow-arrow-icon {
  color: #00E5A0;
  font-size: 20px;
  flex-shrink: 0;
}

/* ===== Chat Widget ===== */
.osw-chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5A0, #00c48a);
  color: #040b16;
  border: none;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 229, 160, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.osw-chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0, 229, 160, 0.45);
}
.osw-chat-toggle svg { width: 24px; height: 24px; fill: currentColor; }

.osw-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-height: 520px;
  background: #0a1628;
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 16px;
  z-index: 9999;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.osw-chat-panel.active { display: flex; }

.osw-chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0, 229, 160, 0.1), rgba(255, 107, 74, 0.05));
  border-bottom: 1px solid rgba(0, 229, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.osw-chat-header h4 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.osw-chat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 20px;
  padding: 0;
  line-height: 1;
}
.osw-chat-close:hover { color: #fff; }

.osw-chat-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.osw-chat-body label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 500;
}
.osw-chat-body input,
.osw-chat-body textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.osw-chat-body input:focus,
.osw-chat-body textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 160, 0.5);
}
.osw-chat-body textarea { min-height: 80px; resize: vertical; }
.osw-chat-body .osw-chat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.osw-chat-submit {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #00E5A0, #00c48a);
  color: #040b16;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.osw-chat-submit:hover { opacity: 0.9; }
.osw-chat-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.osw-chat-success {
  text-align: center;
  padding: 24px 0;
  color: #00E5A0;
}
.osw-chat-success svg { width: 48px; height: 48px; margin-bottom: 12px; }
.osw-chat-success p { color: rgba(255, 255, 255, 0.7); margin-top: 8px; font-size: 14px; }

@media (max-width: 480px) {
  .osw-chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 88px;
  }
  .osw-chat-toggle { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .osw-chat-body .osw-chat-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   39. Accessibility
   ========================================================================== */

/* Screen-reader only (visible on focus for skip link) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link */
.osw-skip-link:focus {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  background: #00E5A0;
  color: #040b16;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  z-index: 10000;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 229, 160, 0.4);
}

/* ==========================================================================
   40. Global Content Max-Width
   Constrains section content to 1200px on wide screens while backgrounds
   stay edge-to-edge. Uses dynamic horizontal padding calculated from the
   containing block width. All decorative overlays (orbs, gradients, noise)
   are position:absolute and reference the padding box, so they still fill
   the full section width. box-sizing: border-box (from Builder reset.css)
   ensures the section element stays at 100% width.
   ========================================================================== */

@media (min-width: 1248px) {
  section {
    padding-left: max(24px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(24px, calc((100% - 1200px) / 2)) !important;
  }
}

/* ==========================================================================
   41. Mobile Navigation
   ========================================================================== */

/* Desktop: hide hamburger button */
.osw-nav-toggle {
  display: none !important;
}

/* Mobile breakpoint - 990px to match Builder's tablet breakpoint */
@media (max-width: 990px) {
  /* CRITICAL: Prevent horizontal scroll */
  html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  /* Constrain all top-level elements */
  body > * {
    max-width: 100vw !important;
  }

  /* Force header to respect viewport */
  header,
  header[class*="osw-nav"],
  header.osw-nav,
  [class*="fb-"][style*="position: fixed"] {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow: hidden !important;
  }

  /* Header inner container - force flex layout */
  header > div,
  header[class*="osw-nav"] > div,
  header.osw-nav > div,
  [class*="fb-"][style*="position: fixed"] > div {
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
    gap: 8px !important;
  }

  /* Logo - allow shrinking */
  header > div > a:first-child,
  header[class*="osw-nav"] > div > a:first-child,
  [class*="fb-"][style*="position: fixed"] > div > a:first-child {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    max-width: 60% !important;
  }

  /* Hide desktop nav menu */
  header nav,
  nav.osw-nav-menu,
  .osw-nav-menu,
  header [class*="osw-nav-menu"],
  [class*="fb-"].osw-nav-menu {
    display: none !important;
  }

  /* Hide CTA button */
  header a[href="/start-project"],
  header a[href*="start-project"],
  [class*="fb-"][style*="position: fixed"] a[href="/start-project"] {
    display: none !important;
  }

  /* Show hamburger button */
  .osw-nav-toggle,
  button.osw-nav-toggle,
  header button.osw-nav-toggle,
  [class*="fb-"].osw-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1001 !important;
    background: transparent !important;
    border: none !important;
    color: #f1f6ff !important;
    font-size: 26px !important;
    cursor: pointer !important;
    padding: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Hamburger hover state */
  .osw-nav-toggle:hover,
  button.osw-nav-toggle:hover {
    color: #00E5A0 !important;
  }
}

/* Mobile menu OPEN state (applies at all sizes when menu is open) */
.osw-nav-menu.osw-nav-open,
nav.osw-nav-menu.osw-nav-open,
[class*="fb-"].osw-nav-menu.osw-nav-open {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(4, 11, 22, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  z-index: 1000 !important;
  padding: 80px 24px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

/* Links inside open menu */
.osw-nav-menu.osw-nav-open a,
.osw-nav-menu.osw-nav-open > a,
nav.osw-nav-menu.osw-nav-open a {
  font-size: 20px !important;
  padding: 14px 28px !important;
  color: #96adcc !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: block !important;
}

.osw-nav-menu.osw-nav-open a:hover {
  color: #00E5A0 !important;
}

/* Hamburger button when menu is open */
.osw-nav-toggle.osw-nav-open,
button.osw-nav-toggle.osw-nav-open {
  position: fixed !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 1002 !important;
  color: #00E5A0 !important;
}

/* Body scroll lock when menu is open */
body.osw-nav-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* Extra small devices - even tighter constraints */
@media (max-width: 480px) {
  header,
  header[class*="osw-nav"],
  [class*="fb-"][style*="position: fixed"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  header > div > a:first-child,
  [class*="fb-"][style*="position: fixed"] > div > a:first-child {
    font-size: 12px !important;
    max-width: 55% !important;
  }

  .osw-nav-toggle,
  button.osw-nav-toggle {
    font-size: 24px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 6px !important;
  }

  .osw-nav-menu.osw-nav-open a {
    font-size: 18px !important;
    padding: 12px 20px !important;
  }
}


/* ===== Section 40: Demo Provisioning ===== */
.osw-demo-spinner {
  width: 48px; height: 48px;
  border: 3px solid rgba(0, 229, 160, 0.2);
  border-top-color: #00E5A0;
  border-radius: 50%;
  margin: 0 auto;
  animation: osw-spin 0.8s linear infinite;
}
@keyframes osw-spin { to { transform: rotate(360deg); } }

.osw-demo-progress-bar {
  width: 100%; height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.osw-demo-progress-fill {
  width: 5%; height: 100%;
  background: linear-gradient(90deg, #00E5A0, #00c88a);
  border-radius: 3px;
  transition: width 1s ease;
}
