/* ----------------------------------------------------
   FLOWDESK SYSTEMS — GLOBAL DESIGN SYSTEM
   ---------------------------------------------------- */

:root {
  --bg: #fafbfc;
  --bg-elev: rgba(15, 23, 42, 0.02);
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-mockup: rgba(255, 255, 255, 0.95);
  --bg-mockup-panel: rgba(15, 23, 42, 0.04);
  --border: rgba(15, 23, 42, 0.06);
  --border-strong: rgba(15, 23, 42, 0.12);
  --line: rgba(15, 23, 42, 0.15);
  --line-dim: rgba(15, 23, 42, 0.05);
  --fg: #0f172a;
  --fg-muted: #475569;
  --fg-dim: #64748b;
  --brand: #38b6ff;
  --brand-dim: rgba(56, 182, 255, 0.08);
  --brand-glow: rgba(56, 182, 255, 0.05);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* ----------------------------------------------------
   CORE RESETS
   ---------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background-color: var(--brand);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s ease;
  box-shadow: 0 4px 20px rgba(56, 182, 255, 0.3);
}
.skip-link:focus-visible {
  top: 24px;
}

/* Custom Text Selection */
::selection {
  background-color: var(--brand);
  color: var(--bg);
}

/* Keyboard Focus Rings */
*:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

/* Typography & Layout Elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 10;
}

section {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.section-h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.5;
}

/* Shared page-header layout for subpages */
.page-header {
  padding-top: 160px;
  padding-bottom: 40px;
  text-align: center;
}
.page-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------------------
   GLASSMORPHIC NAVIGATION HEADER
   ---------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(250, 251, 252, 0.4) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
}

.navbar-scrolled {
  background-color: rgba(250, 251, 252, 0.85) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  height: 68px !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03) !important;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--fg-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
}

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

/* Responsive Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  padding: 15px; /* Significantly increases tap target area */
  margin: -15px; /* Offsets padding layout impact to keep it perfectly aligned */
  box-sizing: content-box; /* Ensures padding does not compress the inner bars */
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--fg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform-origin: left center;
}

/* Animations for open mobile hamburger */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(0px, -1px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(0px, 1px);
}

/* Fullscreen Glassmorphic Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(250, 251, 252, 0.8) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--fg);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  max-width: 260px;
}

/* ----------------------------------------------------
   GLASSMORPHIC BUTTON SYSTEM
   ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px 12px 52px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 100px !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

/* Standardized circular badge on the left using a precise SVG chevron */
.btn-primary::before, .btn-secondary::before {
  content: '' !important;
  position: absolute !important;
  left: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%2308090a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 12px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  z-index: 2 !important;
}

.btn-primary {
  background: rgba(8, 9, 10, 0.75) !important;
  color: #ffffff !important;
  border: 1px solid rgba(56, 182, 255, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 
    inset 0 1px 0 0 rgba(15, 23, 42, 0.12), 
    0 4px 20px rgba(56, 182, 255, 0.15), 
    0 0 0 1px rgba(56, 182, 255, 0.05) !important;
}

.btn-primary:hover {
  background: rgba(8, 9, 10, 0.90) !important;
  border-color: rgba(56, 182, 255, 0.70) !important;
  color: #ffffff !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.20), 
    0 8px 30px rgba(56, 182, 255, 0.35), 
    0 0 15px rgba(56, 182, 255, 0.15) !important;
}

.btn-primary:hover::before {
  background-color: #38b6ff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E") !important;
  transform: translateY(-50%) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(56, 182, 255, 0.4) !important;
}

.btn-secondary {
  background: rgba(8, 9, 10, 0.40) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    0 4px 15px rgba(0, 0, 0, 0.20) !important;
}

.btn-secondary:hover {
  background: rgba(8, 9, 10, 0.60) !important;
  border-color: rgba(56, 182, 255, 0.40) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.10),
    0 6px 20px rgba(56, 182, 255, 0.20) !important;
}

.btn-secondary:hover::before {
  background-color: #38b6ff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E") !important;
  transform: translateY(-50%) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(56, 182, 255, 0.4) !important;
}

.btn-ghost {
  color: var(--fg-muted);
  padding: 8px 16px;
}
.btn-ghost:hover {
  color: var(--fg);
}

.arrow-hover span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.arrow-hover:hover span {
  transform: translateX(4px);
}

/* ----------------------------------------------------
   SHARED STYLES, GLOWS & TRANSITIONS
   ---------------------------------------------------- */
.glow-radial {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
  width: 40vw;
  height: 40vw;
  left: 50%;
  top: 10%;
  transform: translate(-50%, 0);
  opacity: 0.6;
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 30%, #38b6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-brand {
  background: linear-gradient(90deg, #38b6ff 0%, #0f172a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------
   GLASSMORPHIC CARDS AND COMPONENT PATTERNS
   ---------------------------------------------------- */
.value-card, .service-card, .step-detail-card, .pricing-card, .table-container, 
.pillar-card, .slack-mockup, .kanban-mockup, .mockup-container, .canvas-node, 
.blog-card, .audit-card, .newsletter-card, .card, .post-card, .faq-item, 
.about-card, .form-container, .interactive-box {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.60) !important;
  background-color: rgba(255, 255, 255, 0.70) !important;
}

.value-card:hover, .service-card:hover, .step-detail-card:hover, .pricing-card:hover, 
.pillar-card:hover, .canvas-node:hover, .card:hover, .post-card:hover {
  border-color: rgba(56, 182, 255, 0.40) !important;
  background-color: rgba(255, 255, 255, 0.90) !important;
  box-shadow: 0 8px 32px 0 rgba(56, 182, 255, 0.12) !important;
}

/* ----------------------------------------------------
   FINAL GLOBAL CALL-TO-ACTION SECTION
   ---------------------------------------------------- */
.cta-section {
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.08) 0%, rgba(15,23,42,0) 70%);
  pointer-events: none;
  z-index: 1;
  width: 70vw;
  height: 70vw;
  max-width: 700px;
  max-height: 700px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.cta-h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--fg);
}

.cta-sub {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

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

/* ----------------------------------------------------
   STANDARDIZED ACCESSIBLE FOOTER
   ---------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background-color: var(--bg-elev);
  padding: 80px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
}

.footer-logo svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 240px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.footer-socials a {
  color: var(--fg-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-col a {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-dim);
}

/* ----------------------------------------------------
   RESPONSIVE OVERRIDES
   ---------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr repeat(2, 1fr);
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 3;
  }

  /* Contact Page Grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contact-card, .booking-card {
    padding: 24px !important;
  }
  
  /* About Page Block & Values Grid */
  .about-block {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .values-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .value-card {
    padding: 24px !important;
  }
  
  /* Services Page Grid */
  .service-grid-block {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .service-card {
    padding: 24px !important;
  }
  
  /* Agents & Automations Page Detail Section */
  .detail-section {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .detail-visual {
    min-height: 200px !important;
    padding: 24px !important;
  }
  
  /* Audit Page Form Container */
  .form-container {
    padding: 24px !important;
  }
  
  /* Pricing Page Grid & Comparison Table */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .pricing-card {
    padding: 24px !important;
  }
  .table-container th, .table-container td {
    padding: 12px 16px !important;
    font-size: 13px !important;
  }
  
  /* Blog Page Grid */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .post-card {
    padding: 24px !important;
  }
  
  /* Newsletter Page Card */
  .newsletter-card {
    padding: 24px !important;
  }
  
  /* Process Page Card Grid */
  .step-detail-card {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 24px !important;
  }
  .step-visual-box {
    aspect-ratio: 16/9 !important;
    height: auto !important;
    max-height: 180px !important;
  }
  
  /* Work Page Case Studies Grid */
  .cases-grid {
    gap: 48px !important;
  }
  .case-card, .case-card.reverse {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .slack-kanban-wrapper {
    height: 380px !important;
  }
  .slack-mockup {
    width: 100% !important;
    max-width: none !important;
  }
  .kanban-mockup {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ----------------------------------------------------
   PREFERS REDUCED MOTION (WCAG A11y Compliance)
   ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .fade-up {
    transform: none !important;
    opacity: 1 !important;
  }
}


/* ====================================================
   INTERACTIVE SCHEDULER MODAL WIDGET
   ==================================================== */
    .scheduler-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(15, 23, 42, 0.4);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .scheduler-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }
    .scheduler-container {
      background-color: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.6);
      box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
      border-radius: 20px;
      width: 100%;
      max-width: 850px;
      padding: 40px;
      position: relative;
      transform: translateY(20px) scale(0.97);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .scheduler-overlay.open .scheduler-container {
      transform: translateY(0) scale(1);
    }
    .scheduler-close {
      position: absolute;
      top: 24px;
      right: 24px;
      font-size: 28px;
      line-height: 1;
      color: var(--fg-dim);
      cursor: pointer;
      transition: color 0.2s ease;
      background: none;
      border: none;
      padding: 4px;
    }
    .scheduler-close:hover {
      color: var(--fg);
    }
    .scheduler-step {
      animation: fadeInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes fadeInStep {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .scheduler-header {
      margin-bottom: 28px;
    }
    .scheduler-title {
      font-size: clamp(24px, 4vw, 32px);
      font-weight: 600;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .scheduler-subtitle {
      font-size: 14px;
      color: var(--fg-muted);
    }
    .scheduler-layout {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 32px;
    }
    .calendar-wrapper {
      background: rgba(255, 255, 255, 0.4);
      border: 1px solid var(--border-strong);
      border-radius: 12px;
      padding: 20px;
    }
    .calendar-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .calendar-nav-btn {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid var(--border);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--fg-muted);
      transition: all 0.2s ease;
    }
    .calendar-nav-btn:hover {
      background: var(--fg);
      color: var(--bg);
      border-color: var(--fg);
    }
    .calendar-month-title {
      font-size: 15px;
      font-weight: 600;
    }
    .calendar-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--fg-dim);
      text-transform: uppercase;
      margin-bottom: 10px;
      font-weight: 600;
    }
    .calendar-days {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
    }
    .calendar-day {
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      user-select: none;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid transparent;
    }
    .calendar-day:hover:not(.disabled):not(.selected) {
      background: rgba(56, 182, 255, 0.1);
      color: var(--brand);
      border-color: rgba(56, 182, 255, 0.2);
    }
    .calendar-day.selected {
      background: var(--brand) !important;
      color: #ffffff !important;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(56, 182, 255, 0.3);
    }
    .calendar-day.disabled {
      color: var(--fg-dim);
      opacity: 0.25;
      cursor: not-allowed;
      pointer-events: none;
    }
    .calendar-day.today {
      border: 1px solid var(--brand);
      font-weight: 600;
      color: var(--brand);
    }
    .calendar-day.today.selected {
      color: #ffffff;
    }
    .slots-wrapper {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .slots-header-title {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--fg-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 12px;
      display: block;
    }
    .slots-grid {
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: 240px;
      overflow-y: auto;
      padding-right: 4px;
    }
    .slots-grid::-webkit-scrollbar {
      width: 4px;
    }
    .slots-grid::-webkit-scrollbar-track {
      background: transparent;
    }
    .slots-grid::-webkit-scrollbar-thumb {
      background: var(--border-strong);
      border-radius: 4px;
    }
    .slot-btn {
      width: 100%;
      padding: 12px 16px;
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid var(--border-strong);
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      text-align: center;
    }
    .slot-btn:hover:not(.selected) {
      background: rgba(56, 182, 255, 0.06);
      border-color: var(--brand);
      color: var(--brand);
    }
    .slot-btn.selected {
      background: var(--fg);
      color: var(--bg);
      border-color: var(--fg);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    }
    .no-slots-msg {
      color: var(--fg-dim);
      font-size: 13px;
      font-style: italic;
      text-align: center;
      padding: 24px 0;
    }
    .scheduler-form-body {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .success-icon-wrapper {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.1);
      border: 2px solid rgb(16, 185, 129);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      color: rgb(16, 185, 129);
      animation: popCheckmark 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes popCheckmark {
      from { transform: scale(0.5); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .success-svg {
      width: 32px;
      height: 32px;
    }
    @media (max-width: 768px) {
      .scheduler-container {
        padding: 24px;
        max-width: 500px;
      }
      .scheduler-layout {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      .calendar-wrapper {
        padding: 12px;
      }
      .slots-grid {
        max-height: 180px;
      }
    }

/* Premium Glassmorphic Toast Notification */
.email-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 24px);
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 182, 255, 0.35);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(56, 182, 255, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.email-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.email-toast-icon {
  width: 18px;
  height: 18px;
  color: #38b6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------
   FLOWDESK SYSTEMS — LEGAL & COMPLIANCE STYLES
   ---------------------------------------------------- */

/* Legal Page Body & Dark Theme Context */
body.legal-page {
  background-color: #0a0a0f !important;
  color: #e2e8f0 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Headings for Legal Page */
body.legal-page h1,
body.legal-page h2,
body.legal-page h3,
body.legal-page h4 {
  color: #ffffff !important;
  font-family: 'Clash Display', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.legal-page .eyebrow {
  color: #38b6ff !important;
  font-family: var(--font-mono);
}

body.legal-page .page-subtitle {
  color: #94a3b8 !important;
}

/* Navbar Adaptations for Dark Legal Page */
body.legal-page .navbar {
  background-color: rgba(10, 10, 15, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.legal-page .navbar-scrolled {
  background-color: rgba(10, 10, 15, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.legal-page .logo-link {
  color: #ffffff !important;
}

body.legal-page .nav-links a {
  color: #94a3b8 !important;
}

body.legal-page .nav-links a:hover,
body.legal-page .nav-links a.active {
  color: #ffffff !important;
}

body.legal-page .menu-toggle span {
  background-color: #ffffff !important;
}

/* Footer Adaptations for Dark Legal Page */
body.legal-page .footer {
  background-color: #050508 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.legal-page .footer-logo,
body.legal-page .footer-bottom,
body.legal-page .footer-col-title {
  color: #ffffff !important;
}

body.legal-page .footer-tagline,
body.legal-page .footer-col a {
  color: #94a3b8 !important;
}

body.legal-page .footer-col a:hover {
  color: #ffffff !important;
}

/* CSS Grid Layout */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
  padding-bottom: 120px;
}

/* Sidebar TOC */
.legal-sidebar {
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding-right: 16px;
}

.legal-sidebar::-webkit-scrollbar {
  width: 4px;
}
.legal-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.legal-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-menu-item a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.legal-menu-item a:hover {
  color: #ffffff;
  border-left-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.legal-menu-item.active a {
  color: #38b6ff !important;
  border-left-color: #38b6ff !important;
  background: rgba(56, 182, 255, 0.04) !important;
  font-weight: 600;
}

/* Article & Content Cards */
.legal-article {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  border-radius: 16px;
  padding: 40px;
  scroll-margin-top: 120px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.legal-section-card:hover {
  border-color: rgba(56, 182, 255, 0.2) !important;
  box-shadow: 0 12px 40px rgba(56, 182, 255, 0.04) !important;
}

.legal-section-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.legal-section-card p, 
.legal-section-card li {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.legal-section-card ul, 
.legal-section-card ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-section-card li {
  margin-bottom: 8px;
}

.legal-section-card p:last-child,
.legal-section-card ul:last-child,
.legal-section-card ol:last-child {
  margin-bottom: 0;
}

/* Table Style in Legal Cards */
.legal-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin: 16px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th, 
.legal-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* Glassmorphic Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: rgba(10, 10, 15, 0.85) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 4px solid #38b6ff !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-radius: 12px;
  padding: 24px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: #e2e8f0;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #94a3b8;
  margin-bottom: 20px;
}

.cookie-text a {
  color: #38b6ff;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #ffffff;
}

/* Customizable Preferences Panel */
.cookie-preferences {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.cookie-preferences.open {
  display: flex;
}

.preference-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.preference-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: #38b6ff;
}

.preference-info {
  display: flex;
  flex-direction: column;
}

.preference-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.preference-desc {
  font-size: 11.5px;
  color: #64748b;
}

/* Buttons for Cookie Banner */
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background-color: #38b6ff !important;
  color: #0a0a0f !important;
  border: 1px solid #38b6ff !important;
}

.cookie-btn-primary:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.cookie-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px);
}

.cookie-btn-tertiary {
  background-color: transparent !important;
  color: #94a3b8 !important;
  border: 1px solid transparent !important;
  text-decoration: underline;
  padding-left: 8px;
  padding-right: 8px;
}

.cookie-btn-tertiary:hover {
  color: #ffffff !important;
}

/* responsive grid collapses cleanly */
@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    padding-right: 0;
  }
  .legal-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .legal-menu-item a {
    border-left: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
  }
  .legal-menu-item.active a {
    border-left-color: transparent !important;
    border-bottom-color: #38b6ff !important;
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}