/* Site chrome: header pill, CTA, mobile menu, footer beam.
   Extracted from the page-level styles so pages without them (generated
   location pages, Next.js routes) render the same header. */
html, body {
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
      overflow-x: hidden;
    }
    ::-webkit-scrollbar { display: none; }
    body {
      font-family: 'Inter', sans-serif;
      background-color: #0a0a0a;
      color: #f1f5f9;
      -webkit-font-smoothing: antialiased;
    }
    .font-sf {
      font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      letter-spacing: -0.025em;
    }

    @property --gradient-angle {
      syntax: "<angle>"; initial-value: 0deg; inherits: false;
    }
    @property --gradient-angle-offset {
      syntax: "<angle>"; initial-value: 0deg; inherits: false;
    }
    @property --gradient-shine {
      syntax: "<color>"; initial-value: #f97316; inherits: false;
    }
    .shiny-cta {
      --gradient-angle: 0deg;
      --gradient-angle-offset: 0deg;
      --gradient-shine: #f97316;
      position: relative; overflow: hidden; border-radius: 9999px;
      padding: 0.625rem 1.25rem; font-size: 0.875rem; line-height: 1.2;
      font-weight: 500; color: #ffffff;
      background: linear-gradient(#000000, #000000) padding-box,
        conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent 0%, #ea580c 5%, var(--gradient-shine) 15%, #ea580c 30%, transparent 40%, transparent 100%) border-box;
      border: 2px solid transparent;
      box-shadow: inset 0 0 0 1px #1a1818;
      transition: all 0.3s; cursor: pointer; isolation: isolate;
      animation: border-spin 2.5s linear infinite;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .shiny-cta-light {
      color: #000000; --gradient-shine: #fb923c;
      background: linear-gradient(#ffffff, #ffffff) padding-box,
        conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent 0%, #cbd5e1 5%, var(--gradient-shine) 15%, #cbd5e1 30%, transparent 40%, transparent 100%) border-box;
      box-shadow: inset 0 0 0 1px #e2e8f0, 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    @keyframes border-spin { to { --gradient-angle: 360deg; } }
    .shiny-cta::before {
      content: ''; pointer-events: none; position: absolute;
      left: 50%; top: 50%; transform: translate(-50%, -50%);
      width: calc(100% - 6px); height: calc(100% - 6px);
      background: radial-gradient(circle at 2px 2px, white 0.5px, transparent 0) padding-box;
      background-size: 4px 4px;
      mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
      opacity: 0.4;
    }
    .shiny-cta::after {
      content: ''; pointer-events: none; position: absolute;
      left: 50%; top: 50%; transform: translate(-50%, -50%);
      z-index: 1; width: 100%; aspect-ratio: 1;
      background: linear-gradient(-50deg, transparent, #ea580c, transparent);
      mask-image: radial-gradient(circle at bottom, transparent 40%, black);
      opacity: 0.6; animation: shimmer 4s linear infinite;
    }
    @keyframes shimmer { to { transform: translate(-50%, -50%) rotate(360deg); } }
    .shiny-cta span { position: relative; z-index: 2; }

    .glass-nav {
      background: rgba(5, 5, 5, 0.7);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
    .glass-nav-scrolled {
      background: rgba(0, 0, 0, 0.6) !important;
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    #main-navbar { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    #main-navbar.navbar-hidden { transform: translateY(-100%); }
    #main-navbar.navbar-visible { transform: translateY(0); }


    @keyframes footer-beam {
      0% { left: -100%; }
      100% { left: 200%; }
    }
    .animate-footer-beam { animation: footer-beam 4s linear infinite; }

    .hover-gradient-text:hover {
      background: linear-gradient(to right, #60a5fa, #a855f7);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Mobile menu */
    .mobile-menu-wrapper {
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    }
    .menu-closed { transform: translateY(-100%); opacity: 0; pointer-events: none; }
    .menu-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  
    /* Industries Dropdown */
    .industries-dropdown {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(10px);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding-top: 1rem;
      z-index: 100;
    }
    .group:hover .industries-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .dropdown-content {
      background: rgba(10, 10, 12, 0.95);
      backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 0.75rem;
      width: 272px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }
    .dropdown-item {
      white-space: nowrap;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
      padding: 0.625rem 0.875rem;
      border-radius: 10px;
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.8125rem;
      transition: all 0.2s ease;
      text-decoration: none;
    }
    .dropdown-item:hover {
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
    }
    .dropdown-item iconify-icon {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.4);
      transition: color 0.2s;
    }
    .dropdown-item:hover iconify-icon {
      color: #3b82f6;
    }

/* Light header (homepage-style) for pages whose hero has data-theme="light"; toggled by navbar-scroll.js */
.glass-nav.glass-nav-scrolled:not(.glass-nav-inverse) {background: rgba(0, 0, 0, 0.96) !important; backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); }
.glass-nav-inverse.glass-nav-scrolled {background: rgba(255, 255, 255, 0.94) !important; backdrop-filter: blur(16px); border: 1px solid rgba(15, 23, 42, 0.08) !important; box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06); }
/* Light/Inverse Navbar Theme (Dynamic) */

    .glass-nav-inverse {background: rgba(255, 255, 255, 0.85) !important; backdrop-filter: blur(12px) !important; border: 1px solid rgba(0, 0, 0, 0.05) !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); }
.glass-nav-inverse .text-white {color: #1e293b !important; /* slate-800 */ }
/* Preserve white text for specific elements like the Automated badge, even in inverse mode */

    .glass-nav-inverse .bg-\[\#3b82f6\] .text-white {color: #ffffff !important; }
.glass-nav-inverse .text-gray-300,

    .glass-nav-inverse .text-gray-400 {color: #64748b !important; /* slate-500 */ }
.glass-nav-inverse .hover\:text-white:hover {color: #0f172a !important; /* slate-900 */ }
.glass-nav-inverse .border-white\/10 {border-color: rgba(0, 0, 0, 0.1) !important; }
.glass-nav-inverse #mobile-menu-btn {color: #0f172a !important; }
.glass-nav-inverse #mobile-menu-btn:hover {background: rgba(15, 23, 42, 0.06) !important; }
.glass-nav-inverse .dropdown-content {background: rgba(255, 255, 255, 0.98) !important; border: 1px solid rgba(15, 23, 42, 0.08) !important; box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important; }
.glass-nav-inverse .dropdown-item {color: rgba(15, 23, 42, 0.72) !important; }
.glass-nav-inverse .dropdown-item:hover {background: rgba(15, 23, 42, 0.04) !important; color: #0f172a !important; }
.glass-nav-inverse .dropdown-item iconify-icon {color: rgba(15, 23, 42, 0.45) !important; }
.glass-nav-inverse .dropdown-item:hover iconify-icon {color: #3b82f6 !important; }
