/* prognostic.ai — coming soon */

/* Global Mobile Responsiveness Rules */
html, body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  padding-top: 0;
  height: 100vh;
}

/* Add top margin to main content to account for fixed header */
main.container {
  margin-top: 80px;
  /* Ensure main content is the primary scroll container */
  overflow-y: auto;
  height: calc(100vh - 80px);
  /* Prevent any horizontal scrolling */
  overflow-x: hidden;
}

@media (max-width: 768px) {
  main.container {
    margin-top: 68px;
    height: calc(100vh - 68px);
  }
}

@media (max-width: 480px) {
  main.container {
    margin-top: 60px;
    height: calc(100vh - 60px);
  }
}

* {
  box-sizing: border-box; 
}

/* Prevent horizontal scrolling on mobile */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    gap: 40px;
    max-width: 100%;
  }
  
  .sx-wrap {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }
  
  /* Ensure all content fits within viewport */
  .sx-section-band,
  .sx-texture,
  .sx-inverted {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
  
  /* Tablet header adjustments */
  .header-container { 
    height: 68px; 
    padding: 0 20px; 
  }
  .brand { font-size: 22px; }
  
  /* Mobile navigation improvements */
  .nav-dropdown-content {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 20px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  
  .nav-section {
    margin-bottom: 32px;
  }
  
  .nav-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .nav-section a {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  /* Mobile content improvements */
  .sx-section-band { padding: 32px 20px; }
  .uxv { padding-inline: 20px; }
  
  /* Mobile grid adjustments */
  .sx-challenges-grid,
  .sx-outcomes-grid,
  .sx-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sx-accent-fullwidth {
    margin: 0 -20px;
    padding: 32px 20px;
  }
}

/* Enhanced responsive design and device compatibility */
@media (max-width: 480px) {
  .container { 
    padding: 16px; 
    gap: 32px; 
  }
  .wordmark { flex-direction: column; gap: 12px; padding-bottom: 16px; }
  .nav { justify-content: center; gap: 12px; }
  .nav a { font-size: 13px; }
  .headline { font-size: clamp(32px, 8vw, 48px); }
  .hero { padding-inline: 8px; }
  
  /* Mobile header adjustments */
  .header-container { 
    height: 60px; 
    padding: 0 16px; 
  }
  .brand { font-size: 20px; }
  .nav-dropdown-toggle { padding: 8px 16px; }
  .nav-cta { padding: 8px 16px; font-size: 14px; }
  
  /* Mobile content spacing */
  .sx-wrap { padding: 0 16px; }
  .sx-section-band { padding: 24px 16px; }
  .uxv { padding-inline: 16px; }
}

@media (max-width: 1024px) {
  .container { padding: 24px; gap: 44px; }
  .wordmark { padding-bottom: 20px; }
  
  /* Tablet grid adjustments */
  .sx-challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Tablet-specific optimizations */
@media (min-width: 768px) and (max-width: 1024px) {
  .container { padding: 32px; }
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
}

/* High-DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .btn, .nav-cta { border-width: 0.5px; }
  .wordmark { border-bottom-width: 0.5px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn { padding: 14px 20px; min-height: 44px; }
  .nav a { padding: 8px 12px; min-height: 32px; }
  .nav-cta { padding: 8px 16px; min-height: 36px; }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --hairline: rgba(0,0,0,0.2);
    --elev: #e0e0e0;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --hairline: rgba(255,255,255,0.2);
      --elev: #2a2a2a;
    }
  }
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: var(--surface);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }

:root {
  color-scheme: light dark;
  --surface: #ffffff;
  --text: rgba(0,0,0,0.84);
  --muted: rgba(0,0,0,0.56);
  --hairline: rgba(0,0,0,0.08);
  --elev: #f7f7f7;
  --accent: #4c8bf5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b0b0b;
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.64);
    --hairline: rgba(255,255,255,0.08);
    --elev: #121212;
  }
}

.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 48px;
  padding: clamp(24px, 5vw, 64px);
}

.wordmark {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 20px;
}
.brand {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.nav a.active { color: var(--text); }
.nav-cta { padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; }

.hero {
  display: grid;
  gap: 10px;
  text-align: center;
  width: 100%;
  max-width: 1180px;
  padding-inline: 12px;
}
.hero.small { gap: 12px; }

.headline {
  margin: 0;
  font-size: clamp(38px, 7.5vw, 92px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: radial-gradient(120% 120% at 50% 0%, var(--text) 0%, var(--text) 40%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.15em;
}
.dictionary { color: var(--muted); margin: 0 auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; }
.btn { display: inline-block; padding: 12px 18px; border: 1px solid var(--hairline); border-radius: 999px; text-decoration:none; color: var(--text); transition: transform .12s ease, background .2s ease, opacity .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .9; }
.btn.ghost { background: transparent; }
.btn.primary { background: var(--text); color: var(--surface); border-color: var(--text); }
.eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.section { width: 100%; max-width: 1180px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.section, .split, .pricing, .accordion, .site-footer { padding-inline: 12px; }
.section--narrow { max-width: 980px; }
.measure { max-width: 65ch; }
.stack { display: grid; gap: 12px; }
.rule { width: 100%; max-width: 1180px; height: 1px; background: var(--hairline); }
.spacer-lg { height: clamp(40px, 8vh, 120px); }
.spacer-xl { height: clamp(64px, 12vh, 160px); }
.split { width: 100%; max-width: 1180px; display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; text-align: left; justify-items: start; } }
.highlight-cards { width: 100%; display: grid; gap: 16px; }
@media (min-width: 900px) { .highlight-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.highlight { border: 1px solid var(--hairline); border-radius: 16px; padding: 20px; background: linear-gradient(180deg, var(--elev), transparent 40%); text-align: left; }
.pill-grid { width: 100%; display: grid; gap: 12px; }
@media (min-width: 900px) { .pill-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pill {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, var(--elev), transparent 40%);
  display: grid;
  gap: 6px;
  justify-items: center;
}
.pill strong { font-weight: 600; }
.pill span { color: var(--muted); font-size: 14px; text-align: center; }
.highlight:hover { transform: translateY(-1px); transition: transform .2s ease; }
.kpis { display: grid; grid-auto-flow: column; gap: 18px; justify-content: center; }
.kpi { font-size: 32px; font-weight: 700; }
.kpi small { display:block; font-size:12px; color: var(--muted); }

/* Accordion */
.accordion { width: 100%; max-width: 1180px; border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--hairline); }
.accordion-header { display:flex; justify-content: space-between; align-items:center; padding: 18px 20px; cursor: pointer; }
.accordion-title { margin:0; font-weight:600; }
.accordion-toggle { transform: rotate(0deg); transition: transform .2s ease; }
.accordion-item.open .accordion-toggle { transform: rotate(90deg); }
.accordion-panel { display: none; padding: 0 20px 20px; text-align: left; color: var(--muted); }
.accordion-item.open .accordion-panel { display:block; }

.lead {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
}

/* CTA section */
.cta {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: 100%;
  max-width: 1180px;
}
.cta-trigger {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 980px;
  padding: clamp(12px, 2.5vw, 24px);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: #0b0b0b; /* solid background for Typeform containers */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 12px 36px rgba(0,0,0,0.16);
}
.embed { width: 100%; height: clamp(560px, 70vh, 860px); border-radius: 12px; overflow: hidden; }
@media (max-width: 640px) { .embed { height: 80vh; } }
.embed-frame { width: 100%; height: 100%; border: 0; display: block; border-radius: 12px; }
.cta-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
}
/* Position the Typeform trigger inline and centered */
[data-tf-live] {
  position: static !important;
}
.tf-v1-popover {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}
.tf-v1-popover-button, .tf-v1-iframe-wrapper {
  margin: 0 auto;
}
.tf-v1-popover .tf-v1-iframe-wrapper { width: 100% !important; height: 100% !important; }
.tf-v1-popover iframe { width: 100% !important; height: 100% !important; }
.cta-trigger .tf-v1-popover-button {
  width: min(820px, 100%);
  height: 56px;
  border-radius: 14px !important;
  font-size: 18px !important;
  letter-spacing: 0.01em;
}
/* Ensure inline widgets expand to container */
.tf-v1-widget, .tf-v1-iframe-wrapper iframe { width: 100% !important; height: 100% !important; }
.tf-v1-popover {
  backdrop-filter: saturate(140%) blur(10px);
}

.page .hero, .grid, .pricing { width: 100%; max-width: 1180px; }

/* Content grids */
.grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Pricing */
.pricing { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--elev), transparent 40%);
  padding: 24px;
}
.card.best { outline: 1px solid rgba(0,0,0,0.2); }
@media (prefers-color-scheme: dark) { .card.best { outline-color: rgba(255,255,255,0.2); } }
.card h2 { margin-top: 0; margin-bottom: 4px; }
.price { font-size: 28px; font-weight: 700; margin: 8px 0 12px; }
.price span { font-weight: 500; font-size: 16px; color: var(--muted); }
.features { padding-left: 18px; margin: 0 0 16px; color: var(--muted); }
.features li { margin: 6px 0; }

/* Footer */
.site-footer { 
  width: 100%;
  max-width: 1180px; 
  margin: 0 auto; 
  color: var(--muted); 
  border-top: 1px solid var(--hairline); 
  padding-top: 24px; 
  padding-inline: 24px;
}
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-title { font-weight: 600; color: var(--text); margin-bottom: 8px; font-size: 14px; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--text); }
.footer-meta { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; }
.separator { opacity: 0.5; }

.meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.meta .nowrap { white-space: nowrap; }
.meta .separator { opacity: 0.5; }

/* Remove floating live button rules; we embed inline */

/* subtle glass for embed button if any */
.tf-v1-popover, .tf-v1-widget {
  backdrop-filter: saturate(140%) blur(10px);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .headline {
    animation: reveal 1.2s ease-out both;
  }
  @keyframes reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}



/* --- UX Variants (scoped, lightweight) --- */
.uxv { width: 100%; max-width: 1180px; display: grid; gap: 16px; padding-inline: 12px; }
.uxv h2 { margin: 0; }
.uxv .eyebrow { text-align: left; }

/* 1. Lead Intro */
.uxv-lead { border: 1px solid var(--hairline); border-radius: 16px; background: linear-gradient(180deg, var(--elev), transparent 50%); padding: 20px; }
.uxv-lead p { margin: 0; color: var(--muted); }

/* 2. Key Bullet Summary */
.uxv-summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: left; }
.uxv-summary li { border-left: 2px solid var(--hairline); padding-left: 10px; }
.uxv-summary li strong { margin-right: 6px; }

/* 3. Two-Column Split */
.uxv-two { display: grid; gap: 20px; }
@media (min-width: 900px) { .uxv-two { grid-template-columns: 1.2fr 1fr; } }
.uxv-two .rail { color: var(--muted); }

/* 4. Feature Grid (Cards) */
.uxv-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .uxv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.uxv-card { border: 1px solid var(--hairline); border-radius: 16px; padding: 20px; background: linear-gradient(180deg, var(--elev), transparent 40%); text-align: left; }
.uxv-card h3 { margin-top: 0; }

/* 5-6. Callouts */
.uxv-callout { border: 1px solid var(--hairline); border-left: 4px solid var(--hairline); border-radius: 12px; padding: 16px; text-align: left; }
.uxv-callout-accent { border-left-color: var(--accent); }

/* 7. Definition List */
.uxv-dl dl { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
@media (min-width: 900px) { .uxv-dl dl { grid-template-columns: max(180px, 20%) 1fr; } }
.uxv-dl dt { font-weight: 600; }
.uxv-dl dd { margin: 0; color: var(--muted); }

/* 8. Checklist */
.uxv-checklist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: left; }
.uxv-checklist li::before { content: "✔"; margin-right: 8px; color: var(--accent); }

/* 9. Numbered Steps */
.uxv-steps ol { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.uxv-steps li { counter-increment: step; border-left: 2px solid var(--hairline); padding-left: 10px; }
.uxv-steps li::before { content: counter(step) ". "; font-weight: 600; margin-right: 6px; }

/* 10. Pull Quote */
.uxv-quote blockquote { margin: 0; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.4; }
.uxv-quote .by { color: var(--muted); font-size: 14px; }

/* 11. Stat Row */
.uxv-statrow { display: grid; gap: 16px; }
@media (min-width: 680px) { .uxv-statrow { grid-auto-flow: column; justify-content: start; } }
.uxv-stat { font-size: 32px; font-weight: 700; }
.uxv-stat small { display: block; font-size: 12px; color: var(--muted); }

/* 12. Pros / Cons */
.uxv-proscons { display: grid; gap: 16px; text-align: left; }
@media (min-width: 900px) { .uxv-proscons { grid-template-columns: 1fr 1fr; } }
.uxv-proscons h3 { margin: 0 0 6px; }
.uxv-proscons ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* 13. Compact Table */
.uxv-compact-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uxv-compact-table th, .uxv-compact-table td { border-top: 1px solid var(--hairline); padding: 10px 8px; text-align: left; }
.uxv-compact-table tr:nth-child(even) { background: rgba(0,0,0,0.02); }
@media (prefers-color-scheme: dark) { .uxv-compact-table tr:nth-child(even) { background: rgba(255,255,255,0.02); } }

/* 14 & 35. Accordion (native) and grid variant */
.uxv-accordion details { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; }
.uxv-accordion details + details { margin-top: 10px; }
.uxv-accordion-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .uxv-accordion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.uxv-accordion-grid details { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; background: linear-gradient(180deg, var(--elev), transparent 60%); }
.uxv-accordion-grid summary { cursor: pointer; font-weight: 600; }

/* 16. Info Pill Group */
.uxv-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.uxv-pill { border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--muted); }

/* 18. Quote Stack */
.uxv-quote-stack blockquote { margin: 0; padding: 0 0 10px; border-bottom: 1px solid var(--hairline); }
.uxv-quote-stack blockquote + blockquote { padding-top: 10px; }

/* 21. Highlight Row */
.uxv-highlights { display: grid; gap: 12px; }
@media (min-width: 680px) { .uxv-highlights { grid-auto-flow: column; } }
.uxv-highlight { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; text-align: left; }

/* 25. Local TOC */
.uxv-toc nav { text-align: left; }
.uxv-toc a { display: inline-block; margin-right: 10px; font-size: 14px; color: var(--muted); text-decoration: none; }
.uxv-toc a:hover { color: var(--text); }

/* 32. CTA Band */
.uxv-cta-band { border: 1px solid var(--hairline); border-radius: 16px; background: linear-gradient(180deg, var(--elev), transparent 40%); padding: 16px; display: grid; gap: 10px; justify-items: start; }

/* 36. Expandable Excerpt */
.uxv-excerpt details { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; text-align: left; }

/* 38. Key Takeaways */
.uxv-takeaways { border: 1px solid var(--hairline); border-radius: 12px; padding: 16px; text-align: left; background: linear-gradient(180deg, var(--elev), transparent 50%); }
.uxv-takeaways ul { margin: 0; padding-left: 18px; }

/* 39. Legal Clause List */
.uxv-legal ol { counter-reset: clause; padding-left: 0; list-style: none; display: grid; gap: 10px; text-align: left; }
.uxv-legal li { counter-increment: clause; padding-left: 28px; position: relative; }
.uxv-legal li::before { content: counter(clause) "."; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--muted); }

/* 40. Inline Q&A List */
.uxv-inline-qa dl { margin: 0; display: grid; gap: 10px; }
.uxv-inline-qa dt { font-weight: 600; }
.uxv-inline-qa dd { margin: 0; color: var(--muted); }

/* Enhanced accessibility and focus states */
.btn:focus, .nav a:focus, .nav-cta:focus { 
  outline: 2px solid var(--accent); 
  outline-offset: 2px; 
  border-radius: 999px;
}

/* New homepage sections */
.sx-challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .sx-challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

.sx-challenge-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.sx-challenge-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sx-challenge-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sx-challenge-icon svg {
  width: 32px;
  height: 32px;
  color: var(--text-primary);
  opacity: 0.9;
}

.sx-challenge-item h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.sx-challenge-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sx-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

.sx-outcome-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.sx-outcome-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sx-outcome-item h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.sx-outcome-item p {
  margin: 0 0 20px 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sx-outcome-metrics {
    display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sx-metric {
  background: rgba(59, 130, 246, 0.1);
  color: rgba(59, 130, 246, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
    font-weight: 500;
}

.sx-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

.sx-benefit-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.sx-benefit-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sx-benefit-item h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.sx-benefit-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  /* Navigation */
  .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  z-index: 1000;
  }
  
  .nav[aria-expanded="true"] {
    transform: translateX(0);
  }
  
  .nav a {
    font-size: 24px;
    font-weight: 500;
  }
  
  .nav-cta {
    margin-top: 16px;
  }
  
  /* Hero */
  .sx-hero-light {
    margin: 0 16px !important;
    padding: 24px 16px !important;
  }
  
  .sx-headline {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  
  .sx-lead {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  
  .sx-cta {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .sx-cta .btn {
    width: 100%;
    text-align: center;
  }
  
  .sx-trust-badges {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .sx-trust-badge {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  /* Grid layouts */
  .sx-challenges-grid,
  .sx-outcomes-grid,
  .sx-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Inverted section */
  .sx-inverted {
    margin: 32px -16px;
    padding: 48px 16px;
  }
  
  .sx-inverted-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Section cards */
  .sx-section-card {
    padding: 24px 20px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  /* Additional mobile improvements */
  .sx-wrap {
    padding: 0 16px;
  }
  
  .sx-section-band {
    padding: 32px 20px;
    margin: 0 16px 32px 16px;
  }
  
  .sx-texture {
    padding: 32px 24px;
    margin: 0 16px;
  }
  
  .sx-quotes {
    gap: 24px;
  }
  
  .sx-quote {
    padding: 24px 20px;
  }
  
  .sx-cta-dark {
    padding: 32px 24px;
    text-align: center;
  }
  
  .sx-cta-dark .btn {
    width: 100%;
    margin-top: 24px;
  }
  
  /* Mobile accent containers */
  .sx-accent-fullwidth {
    margin: 0 -16px;
    padding: 32px 24px;
  }
  .sx-accent-rounded {
    margin: 0 16px;
    padding: 24px 20px;
  }
  .sx-accent-content h3 {
    font-size: 20px;
  }
  .sx-accent-content p {
    font-size: 15px;
  }
}

/* Premium Jony Ive-inspired accent backgrounds */
.sx-accent-bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sx-accent-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.sx-accent-bg > * {
  position: relative;
  z-index: 1;
}

/* New accent containers for visual variety */
.sx-accent-fullwidth {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 48px 32px;
  margin: 0 -32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sx-accent-fullwidth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.sx-accent-rounded {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 600px;
  margin: 0 auto;
}

.sx-accent-rounded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.sx-accent-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.sx-accent-content h3 {
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.sx-accent-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Desktop Header Styles - Jony Ive inspired */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

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

.brand {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand:hover {
  color: rgba(255, 255, 255, 1);
}

/* Premium Dropdown Navigation */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Apply button styling */
.nav-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  white-space: nowrap;
}

.nav-cta:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.nav-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
    display: flex;
    align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.nav-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
  }
  
.nav-dropdown-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.nav-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
  height: 16px;
  justify-content: center;
}

.nav-icon span {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-icon span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-icon span:nth-child(2) {
    opacity: 0;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav-label {
  font-weight: 500;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown.is-open {
    opacity: 1;
    visibility: visible;
  transform: translateY(0) scale(1);
  }
  
.nav-dropdown::before {
    content: '';
    position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.nav-dropdown-content {
  display: grid;
  gap: 24px;
}

.nav-section h3 {
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-section a {
    display: block;
  padding: 8px 0;
  color: var(--text-primary);
    text-decoration: none;
  font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0 -12px;
}

.nav-section a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
  }
  
.nav-cta-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 8px;
}

  .nav-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s ease;
  display: block;
  margin: 0;
}

.nav-cta:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
    height: 64px;
  }
  
  .nav-dropdown {
    width: calc(100vw - 40px);
    right: -20px;
    border-radius: 16px;
    padding: 20px;
  }
  
  .nav-dropdown-content {
    gap: 20px;
  }
  
  .nav-section a {
    font-size: 16px;
    padding: 12px 16px;
    margin: 0 -16px;
  }
  
  .nav-cta {
    padding: 16px 24px;
    font-size: 16px;
  }
}

/* Adjust main content for sticky header */
.container {
  padding-top: 120px;
}

/* Add spacing for pages with the new header structure */
.page {
  padding-top: 120px;
}

/* Add spacing for index page with sx structure */
.sx {
  padding-top: 120px;
}

@media (max-width: 768px) {
  .container {
    padding-top: 100px;
  }
  .page {
    padding-top: 100px;
  }
  .sx {
    padding-top: 100px;
  }
}

/* Apple-inspired liquid glass effects for premium feel */
.sx-svg {
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.12));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sx-card-outer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sx-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced SVG glow effects */
.sx-svg defs filter {
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

/* Liquid glass container styling */
.sx-canvas {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 
    0 16px 64px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Focus visible for keyboard navigation */
.btn:focus-visible, .nav a:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(76, 139, 245, 0.2);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Screen reader only content */
.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;
}

/* Enhanced button accessibility */
.btn:not(:disabled):hover {
  background: var(--elev);
  transform: translateY(-1px);
}

.btn:not(:disabled):active {
  transform: translateY(0);
  opacity: 0.9;
}

/* Disabled state styling */
.btn:disabled, .nav-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 26. Code Snippet Box */
.uxv-codebox { position: relative; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.uxv-codebox pre { margin: 0; padding: 14px; overflow: auto; background: linear-gradient(180deg, var(--elev), transparent 60%); }
.uxv-codebox .copy { position: absolute; top: 8px; right: 8px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface); padding: 6px 10px; font-size: 12px; cursor: pointer; }

/* Visually hidden (for a11y-only headings) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap; border: 0; margin: -1px; padding: 0;
}

/* Mobile Navigation Menu Styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ensure proper mobile positioning */
  width: 100vw;
  height: 100vh;
}

.nav-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  /* Ensure menu is fully visible when open */
  transform: none;
}

.nav-menu-content {
  width: 100%;
  max-width: 400px;
  padding: 80px 24px 24px;
  text-align: center;
  position: relative;
}

.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-menu .nav-section {
  margin-bottom: 32px;
  text-align: center;
}

.nav-menu .nav-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.nav-menu .nav-section a {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu .nav-section a:hover {
  color: rgba(255, 255, 255, 1);
}

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

.nav-menu .nav-cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 24px;
  margin-top: 16px;
  display: inline-block;
  transition: all 0.2s ease;
}

.nav-menu .nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Base Navigation Styles - Visible by default */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav-list {
  display: flex !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
  align-items: center;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1000 !important;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-arrow {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 1);
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-arrow {
  transition: transform 0.2s ease;
  width: 16px;
  height: 16px;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
  margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}



/* Hero Section Base Styles */
.sx-hero {
  position: relative;
  text-align: center;
  display: grid;
  gap: 32px;
  padding: 32px 0;
  width: 100%;
  max-width: 100%;
}

.sx-headline {
  font-size: clamp(32px, 8vw, 88px);
  line-height: 1.1;
  margin: 0 0 32px 0;
  text-align: center;
  color: var(--text);
}

.sx-hero-flowboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
  flex-wrap: wrap;
}

.sx-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sx-card {
  position: relative;
  width: 120px;
  height: 84px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  margin: 0 20px;
}

.sx-flowtag {
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  color: white;
  z-index: 2;
}

.sx-flowtag.blue {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.sx-flowtag.yellow {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.sx-flowtag.amber {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.sx-flowtag.green {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.sx-card-icon {
  width: 32px;
  height: 32px;
  color: #666;
}

.sx-connector {
  display: flex;
  align-items: center;
  margin: 0 -10px;
}

.sx-connector svg {
  width: 60px;
  height: 20px;
}

.sx-connector svg path {
  stroke: rgba(0,0,0,0.15);
  stroke-width: 1.5;
  fill: none;
}

.sx-connector svg circle {
  fill: white;
  stroke: rgba(0,0,0,0.2);
  stroke-width: 1;
}

.sx-hero-light {
  text-align: center;
  padding: 36px 0;
}

.sx-hero-light .sx-lead {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  margin: 16px 0;
  line-height: 1.6;
  }
  
  .sx-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.sx-cta .btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sx-orb {
  position: absolute;
  width: clamp(120px, 22vw, 220px);
  height: clamp(120px, 22vw, 220px);
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.25;
  pointer-events: none;
}

.sx-orb.left {
  left: 4%;
  top: 6%;
  background: radial-gradient(60% 60% at 40% 40%, rgba(0,0,0,0.18), transparent 60%);
}

.sx-orb.right {
  right: 4%;
  bottom: 6%;
  background: radial-gradient(60% 60% at 60% 60%, rgba(0,0,0,0.18), transparent 60%);
}

.sx-trust {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-top: 48px;
}

.sx-trust-row {
  display: flex;
  gap: 18px;
  opacity: 0.7;
  flex-wrap: wrap;
  justify-content: center;
}

.sx-trust-badge {
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Hero Section Load Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial state - hidden */
.sx-hero-flowboard .sx-stage {
  opacity: 0;
  animation-fill-mode: both;
}

.sx-hero-flowboard .sx-connector {
  opacity: 0;
  animation-fill-mode: both;
}

/* Staggered animation timing */
.sx-hero-flowboard .sx-stage:nth-child(1) {
  animation: fadeInScale 0.7s ease-out 0.15s forwards;
}

.sx-hero-flowboard .sx-connector:nth-child(2) {
  animation: slideInRight 0.5s ease-out 0.6s forwards;
}

.sx-hero-flowboard .sx-stage:nth-child(3) {
  animation: fadeInScale 0.7s ease-out 0.75s forwards;
}

.sx-hero-flowboard .sx-connector:nth-child(4) {
  animation: slideInRight 0.5s ease-out 1.2s forwards;
}

.sx-hero-flowboard .sx-stage:nth-child(5) {
  animation: fadeInScale 0.7s ease-out 1.35s forwards;
}

.sx-hero-flowboard .sx-connector:nth-child(6) {
  animation: slideInRight 0.5s ease-out 1.8s forwards;
}

.sx-hero-flowboard .sx-stage:nth-child(7) {
  animation: fadeInScale 0.7s ease-out 1.95s forwards;
}

/* Hero headline animation */
.sx-headline {
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.1s forwards;
}

/* Hero description animation */
.sx-hero-light .sx-lead {
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.4s forwards;
}

/* CTA buttons animation */
.sx-cta .btn {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out 2.4s forwards;
}

.sx-cta .btn:nth-child(2) {
  animation-delay: 2.6s;
}

/* Trust badges animation */
.sx-trust-badge {
  opacity: 0;
  animation: fadeInScale 0.5s ease-out 2.8s forwards;
}

.sx-trust-badge:nth-child(2) {
  animation-delay: 2.9s;
}

.sx-trust-badge:nth-child(3) {
  animation-delay: 3.0s;
}

.sx-trust-badge:nth-child(4) {
  animation-delay: 3.1s;
}

/* Orb animation */
.sx-orb {
  opacity: 0;
  animation: fadeInScale 1.0s ease-out 0.25s forwards;
}

/* Ensure smooth animations on all devices */
.sx-hero-flowboard .sx-stage,
.sx-hero-flowboard .sx-connector,
.sx-hero-flowboard .sx-card,
.sx-hero-flowboard .sx-flowtag,
.sx-hero-flowboard .sx-card-icon {
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

/* Mobile-specific animation adjustments */
@media (max-width: 768px) {
  .sx-hero-flowboard .sx-stage {
    animation-duration: 0.5s;
  }
  
  .sx-hero-flowboard .sx-connector {
    animation-duration: 0.4s;
  }
  
  .sx-headline {
    animation-duration: 0.7s;
  }
  
  .sx-hero-light .sx-lead {
    animation-duration: 0.7s;
  }
  
  .sx-cta .btn {
    animation-duration: 0.5s;
  }
  
  .sx-trust-badge {
    animation-duration: 0.4s;
  }
  
  .sx-orb {
    animation-duration: 0.8s;
  }
}

/* Details section link styling */
.sx-details .sx-link {
  display: inline-block;
  color: var(--accent-blue, #3B82F6);
  text-decoration: none;
  font-weight: 500;
  margin-top: 16px;
  padding: 8px 0;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.sx-details .sx-link:hover {
  color: var(--accent-blue, #2563EB);
  border-bottom-color: currentColor;
  transform: translateX(4px);
}

.sx-details .sx-link:active {
  transform: translateX(2px);
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: flex;
  }
  
  /* Hide desktop navigation elements on mobile */
  .nav-dropdown {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Additional mobile responsiveness rules */
  .header-container {
    padding: 0 16px;
    max-width: 100%;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .brand {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .brand:hover {
    color: rgba(255, 255, 255, 1);
  }
  
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
  }
  
  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
  }
  
  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    transition: all 0.3s ease;
  }
  
  /* Hamburger animation */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Ensure all content fits within mobile viewport */
  .sx {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .sx-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }
  
  /* Prevent any content from overflowing */
  .sx-section-band,
  .sx-texture,
  .sx-inverted,
  .sx-hero,
  .sx-flowboard {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Ensure proper mobile spacing */
  .sx-hero {
    padding: 0 16px;
  }
  
  /* Hero flowboard specific mobile rules - keep horizontal */
  .sx-hero-flowboard {
    flex-direction: row !important;
    gap: 8px !important;
    margin: 32px 0;
    padding: 0;
    justify-content: center;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    max-width: 100%;
    display: flex !important;
    align-items: center;
  }
  
  .sx-hero-flowboard .sx-stage {
    order: unset !important;
    flex-shrink: 0 !important;
    min-width: 48px;
  }
  
  .sx-hero-flowboard .sx-connector {
    order: unset !important;
    transform: none !important;
    width: 12px !important;
    height: 6px !important;
    margin: 0 1px !important;
    flex-shrink: 0 !important;
  }
  
  .sx-hero-flowboard .sx-card {
    width: 64px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  
  .sx-hero-flowboard .sx-flowtag {
    font-size: 9px !important;
    padding: 2px 4px !important;
    top: -4px !important;
    left: 6px !important;
    border-radius: 3px !important;
  }
  
  .sx-hero-flowboard .sx-card-icon {
    width: 16px !important;
    height: 16px !important;
  }
  
  /* Hero Section Mobile Responsiveness */
  .sx-hero {
    text-align: center;
    padding: 0 16px;
    gap: 32px;
  }
  
  .sx-headline {
    font-size: clamp(32px, 8vw, 88px);
    line-height: 1.1;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 300;
    letter-spacing: -0.03em;
  }
  
  .sx-hero-light {
    padding: 24px 16px;
    text-align: center;
  }
  
  .sx-hero-light .sx-lead {
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0;
  }
  
  .sx-cta {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
  }
  
  .sx-cta .btn {
    width: 100%;
    max-width: 280px;
    padding: 16px 24px;
    font-size: 16px;
  }
  
  /* Orb decorations mobile adjustments */
  .sx-orb {
    width: clamp(80px, 18vw, 160px);
    height: clamp(80px, 18vw, 160px);
  }
  
  .sx-orb.left {
    left: 8px;
    top: 8px;
  }
  
  .sx-orb.right {
    right: 8px;
    bottom: 8px;
  }
  
  /* Trust section mobile adjustments */
  .sx-trust {
    gap: 16px;
    margin-top: 32px;
  }
  
  .sx-trust-row {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sx-trust-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
}



