/* ═══════════════════════════════════════════════
   Shared styles for fullPage.js tool/landing pages
   ═══════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e0e0e0;
  background: #020617;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 88px;
}
a { color: #3B82F6; text-decoration: none; }
a:hover { text-decoration: underline; }
#code-modal code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; background: #334155; padding: 2px 6px; border-radius: 3px; font-size: .9em; }
#code-modal pre code { background: none; padding: 0; }

/* ─── Site Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 20px;
  pointer-events: none;
}
.site-header .header-inner {
  width: calc(100% - 40px); max-width: 1320px; margin: 0 auto;
  padding: 0 10px 0 24px;
  height: 60px; display: flex; align-items: center; gap: 12px; justify-content: space-between;
  pointer-events: auto;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.site-header.scrolled .header-inner {
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 4px 32px rgba(59, 130, 246, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.07);
  border-color: rgba(59, 130, 246, 0.2);
}
.site-header .header-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none;
  white-space: nowrap; letter-spacing: -.01em;
}
.site-header .header-logo:hover { text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 4px; font-size: 0.975rem; }
.site-header nav a { color: rgba(255,255,255,.6); text-decoration: none; transition: color 0.2s; padding: 6px 14px; border-radius: 50px; }
.site-header nav a:hover { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.site-header .btn-cta {
  background: #3B82F6; color: #fff !important;
  padding: 9px 22px; border-radius: 50px; font-weight: 700; font-size: 0.975rem;
  transition: background 0.2s, box-shadow 0.2s; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(59,130,246,.4);
}
.site-header .btn-cta:hover { background: #2563EB; box-shadow: 0 4px 18px rgba(59,130,246,.55); }

/* ─── Breadcrumb ─── */
.breadcrumb {
  background: #080e1a;
  padding: 15px 0 0 0;
}
.breadcrumb ol {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: #475569;
}
.breadcrumb li + li::before {
  content: '»';
  margin: 0 8px;
  color: #334155;
  font-size: 1.1rem;
}
.breadcrumb a { color: #475569; text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: #94a3b8; text-decoration: none; }
.breadcrumb li[aria-current="page"] { color: #94a3b8; }

.btn-suggest-inline {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  background: rgba(60,198,59,.12);
  border: 1px solid rgba(60,198,59,.3);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-suggest-inline:hover { background: rgba(60,198,59,.25); color: #fff; text-decoration: none; }
.btn-suggest-inline .suggest-spinner,
.btn-suggest-float .suggest-spinner,
.suggest-effect-btn .suggest-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: suggest-spin .6s linear infinite;
  margin-left: 6px;
  flex-shrink: 0;
}
.loading > .suggest-spinner { display: inline-block; }
@keyframes suggest-spin { to { transform: rotate(360deg); } }

/* ─── Hero ─── */
.hero {
  text-align: center;
  padding: 56px 20px 40px;
  background: linear-gradient(160deg, #0f172a 0%, #0f172a 100%);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 em { font-style: normal; color: #3B82F6; }
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 620px;
  margin: 0 auto;
}

/* ─── Content Sections ─── */
.content-section {
  padding: 64px 20px;
}
.content-inner {
  max-width: 860px;
  margin: 0 auto;
}
/* Wider breakout for demo/preview blocks inside .content-inner */
.content-wide {
  width: calc(100vw - 40px);
  max-width: 1140px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
}
.content-section h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.content-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e0e0e0;
  margin: 36px 0 12px;
}
.content-section p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
  line-height: 1.8;
}
.content-section ul, .content-section ol {
  margin: 16px 0 20px 24px;
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
  line-height: 1.85;
}
.content-section li { margin-bottom: 5px; }
.content-section a:not(.btn-primary):not(.btn-secondary):not(.palette-btn):not(.color-swatch):not(.demo-view-btn) {
  color: #60a5fa;
  text-decoration: underline;
  text-decoration-color: rgba(96,165,250,.35);
  text-underline-offset: 2px;
  transition: color .2s, text-decoration-color .2s;
}
.content-section a:not(.btn-primary):not(.btn-secondary):not(.palette-btn):not(.color-swatch):not(.demo-view-btn):hover {
  color: #93bbfc;
  text-decoration-color: rgba(147,187,252,.6);
}

/* ─── Light Content Sections ─── */
.content-section-light {
  background: #f8fafc;
}
.content-section-light h2 {
  color: #0f172a;
}
.content-section-light h3 {
  color: #1e293b;
}
.content-section-light p {
  color: #475569;
}
.content-section-light ul,
.content-section-light ol {
  color: #475569;
}
.content-section-light a:not(.btn-primary):not(.btn-secondary) {
  color: #2563EB;
}
.content-section-light code {
  background: #e2e8f0;
  color: #1e293b;
}
.content-section-light pre {
  background: #282a36;
  border-radius: 8px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 16px 0;
}
.content-section-light pre code {
  background: #282a36;
  color: #e0e0e0;
}
.content-section-light pre code.hljs {
  background: #282a36;
}
.content-section-light .use-case-card {
  background: #fff;
  border-color: #e2e8f0;
}
.content-section-light .use-case-card h4 {
  color: #0f172a;
}
.content-section-light .use-case-card p {
  color: #64748b !important;
}
.content-section-light .faq-item {
  background: #fff;
  border-color: #e2e8f0;
}
.content-section-light .faq-item summary {
  color: #0f172a;
}
.content-section-light .faq-item .faq-chevron {
  color: #94a3b8;
}
.content-section-light .faq-item .faq-answer {
  color: #64748b !important;
}
.content-section-light .faq-item .faq-answer code {
  background: #e2e8f0;
  color: #1e293b;
}
.content-section-light .compare-table th {
  color: #64748b;
  border-bottom-color: #e2e8f0;
}
.content-section-light .compare-table td {
  color: #475569;
  border-bottom-color: #f1f5f9;
}
.content-section-light .compare-table td:first-child {
  color: #0f172a;
}
.content-section-light .compare-table tr:hover td {
  background: #f8fafc;
}
.content-section-light .yes {
  color: #16a34a !important;
}
.content-section-light .no {
  color: #dc2626 !important;
}
.content-section-light .partial {
  color: #ea580c !important;
}

/* ─── Demo Area ─── */
.demo-area {
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid #334155;
  padding: 32px;
  margin: 24px 0;
  position: relative;
}
.btn-suggest-float {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  background: black;
  border: 1px solid rgba(60, 198, 59, .6);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  z-index: 2;
  white-space: nowrap;
}
.btn-suggest-float:hover { background: rgba(60,198,59,.95); color: #fff; text-decoration: none; }
.btn-suggest-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  background: #0d1117;
  border: 1px solid rgba(60, 198, 59, .5);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.btn-suggest-fixed:hover { background: rgba(60,198,59,.9); color: #fff; border-color: transparent; text-decoration: none; }
.demo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #020617;
}

/* ─── Controls ─── */
.demo-controls {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.control-group label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}
.control-group input[type="range"] {
  width: 140px;
  min-width: 100px;
  accent-color: #3B82F6;
}
.control-group .value-display {
  font-size: .8rem;
  color: #3B82F6;
  font-weight: 600;
  text-align: center;
}

/* ─── Demo Tabs ─── */
.demo-tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 0;
  background: rgba(255,255,255,.06);
  padding: 4px;
  border-radius: 10px;
}
.demo-tab {
  padding: 9px 22px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
  font-weight: 600;
  transition: background .25s, color .25s, box-shadow .25s;
}
.demo-tab:hover { color: rgba(255,255,255,.45); }
.demo-tab.active { background: #1e293b; color: #3B82F6; box-shadow: 0 1px 8px rgba(59,130,246,.15); }
.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* ─── Code Blocks (highlight.js) ─── */
pre code.hljs {
  background: #282a36;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 20px 0;
  padding: 30px 10px 30px 25px;
}
.code-label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 20px 0 6px;
}
.code-label:first-of-type {
  margin-top: 12px;
}
.code-block {
  display: none;
  background: #1e293b;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid #334155;
  position: relative;
}
.code-block pre {
  color: #e0e0e0;
  font-size: .95rem;
  line-height: 1.65;
  white-space: pre;
}
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: .78rem;
  font-family: inherit;
  transition: background .2s, color .2s;
}
.copy-btn:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ─── Code Comparison ─── */
.code-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.code-compare .code-block { display: block; }
.code-compare-col h4 {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
  font-weight: 600;
}
.code-compare-col .line-count {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-top: 6px;
}

/* ─── Compare Table ─── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; line-height: 1.6; }
.compare-table th { text-align: left; padding: 14px 18px; color: rgba(255,255,255,.5); font-weight: 700; font-size: 1.1rem; border-bottom: 2px solid rgba(255,255,255,.15); }
.compare-table td { padding: 14px 18px; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.06); }
.compare-table td:first-child { color: #fff; font-weight: 500; }
.compare-table tr:hover td { background: rgba(255,255,255,.03); }
.yes { color: #4ade80 !important; font-weight: 600; }
.no  { color: #f87171 !important; font-weight: 600; }
.partial { color: #ea580c !important; font-weight: 600; }

/* Light-section overrides are below in the .content-section-light block */

/* ─── fullPage.js Upsell Block ─── */
.fp-upsell-block {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  background: #141a2a;
  margin-top: 24px;
  box-shadow: 0 0 60px -11px #20209f;
}
.fp-upsell-presets {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  overflow-x: auto;
}
.fp-upsell-preset {
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .85rem;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
  font-family: inherit;
}
.fp-upsell-preset:hover {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.fp-upsell-preset.active {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #fff;
}
.fp-upsell-layout {
  display: flex;
  flex-direction: column;
}
@media (min-width: 800px) {
  .fp-upsell-layout { flex-direction: row; }
}
.fp-upsell-preview {
  flex: 1;
  min-height: 0;
}
.fp-upsell-preview-inner {
  position: relative;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}
.fp-upsell-preview-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.fp-upsell-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: rgba(255,255,255,.35);
  font-size: .85rem;
  transition: opacity .3s;
}
.fp-upsell-loading.hidden {
  opacity: 0;
  pointer-events: none;
}
.fp-upsell-controls {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #141a2a;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 800px) {
  .fp-upsell-controls {
    width: 280px;
    border-top: none;
    border-left: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
  }
}
.fp-upsell-control-group label {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.fp-upsell-value {
  color: rgba(255,255,255,.35);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.fp-upsell-control-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #334155;
  outline: none;
}
.fp-upsell-control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3B82F6;
  cursor: pointer;
  border: 2px solid #141a2a;
}
.fp-upsell-control-group input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3B82F6;
  cursor: pointer;
  border: 2px solid #141a2a;
}
.fp-effect-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.fp-effect-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: .78rem;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
  font-family: inherit;
  font-weight: 500;
}
.fp-effect-btn:hover {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.fp-effect-btn.active {
  background: rgba(59,130,246,.15);
  border-color: #3B82F6;
  color: #3B82F6;
}
.fp-upsell-features {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
}
.fp-upsell-features-title {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.fp-upsell-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fp-upsell-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fp-check {
  color: #22c55e;
}
.fp-upsell-cta {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background: #3B82F6;
  border-radius: 8px;
  border: none;
  color: #fff !important;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
  margin-top: auto;
}
.fp-upsell-cta:hover {
  background: #2563EB;
}
.fp-upsell-how {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: .96rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color .2s;
  text-decoration: none;
  box-shadow: none;
  border-radius: 0;
}
.fp-upsell-how:hover {
  color: rgba(255,255,255,.8);
  background: none;
  box-shadow: none;
  transform: none;
}
.fp-upsell-how svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ─── Iframe Preview ─── */
.iframe-preview {
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 10px 50px rgba(0,0,0,.5);
}
.iframe-preview iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.iframe-hint {
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  margin-top: 10px;
}

/* ─── Use Cases ─── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.use-case-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 24px;
}
.use-case-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.use-case-card p {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,.6) !important;
  margin-bottom: 0 !important;
  line-height: 1.75 !important;
}

/* ─── FAQ ─── */
.faq-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  margin-bottom: 12px;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 16px 20px;
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item .faq-chevron {
  width: 20px;
  height: 20px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-item .faq-answer {
  padding: 0 20px 16px;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #94a3b8 !important;
  margin-bottom: 0 !important;
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 64px 20px;
  text-align: center;
  border-top: 1px solid #334155;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto 28px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: #3B82F6;
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #2563EB; transform: translateY(-1px); text-decoration: none; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.5);
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.8); text-decoration: none; }

/* ─── CTA Showcase (video grid) ─── */
.cta-showcase {
  background: linear-gradient(160deg, #0f172a 0%, #1a1030 50%, #0f172a 100%);
}
.cta-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 32px auto;
}
.cta-showcase-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid var(--card-border, #3B82F6);
  background: #0a0a1a;
  aspect-ratio: 16 / 10;
  box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 0 40px color-mix(in srgb, var(--card-border) 20%, transparent);
  transition: transform .3s, box-shadow .3s;
}
.cta-showcase-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 60px color-mix(in srgb, var(--card-border) 30%, transparent);
}
.cta-showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-showcase-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}
.cta-showcase-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
  color: rgba(255,255,255,.55) !important;
  max-width: 600px;
  margin: 0 auto 8px !important;
}
.cta-showcase-trust {
  font-size: .9rem !important;
  color: rgba(255,255,255,.4) !important;
  margin-bottom: 24px !important;
  letter-spacing: .01em;
}

@media (max-width: 700px) {
  .cta-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  .cta-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-showcase-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

/* ─── Cross Links ─── */
.cross-links {
  background: #020617;
  padding: 48px 20px;
  border-top: 1px solid #334155;
}
.cross-links-inner {
  max-width: 860px;
  margin: 0 auto;
}
.cross-links h3 {
  font-size: 1rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  font-weight: 600;
}
.cross-links-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cross-link {
  background: rgba(255,255,255,.05);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 12px 20px;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}
.cross-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); text-decoration: none; color: #fff; }

/* ─── Footer ─── */
footer {
  background: #020617;
  padding: 36px 20px;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .875rem;
}
footer a { color: rgba(255,255,255,.55); }
footer a:hover { color: #fff; text-decoration: none; }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

/* ─── View Code / Copy Code Buttons ─── */
.btn-view-code {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); padding: 10px 20px; border-radius: 8px;
  cursor: pointer; font-size: .9rem; font-family: inherit; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
  margin-top: 0;
}
.btn-view-code:hover { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-view-code svg { width: 16px; height: 16px; }

/* ─── Code Modal ─── */
#code-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.72); z-index: 1000;
  align-items: center; justify-content: center; padding: 20px;
}
#code-modal.open { display: flex; }
#code-modal-box {
  background: #0d1117; border-radius: 12px;
  width: 100%; max-width: 820px; max-height: 85vh;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.1);
}
#code-modal-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
#code-modal-title { flex: 1; color: rgba(255,255,255,.7); font-size: .875rem; }
#code-modal-copy, #code-modal-close {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: #fff; padding: 5px 14px; border-radius: 6px;
  cursor: pointer; font-size: .8rem; font-family: inherit;
  transition: background .2s;
}
#code-modal-copy:hover, #code-modal-close:hover { background: rgba(255,255,255,.2); }
#code-modal-close { padding: 5px 10px; }
#code-modal-pre {
  flex: 1; overflow: auto; padding: 20px 24px !important;
  font-size: .92rem !important; line-height: 1.6 !important;
  white-space: pre !important; margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
#code-modal-pre code.hljs {
  font-size: inherit;
  background: none;
}

/* ─── Callout Notice ─── */
p.callout-notice {
  width: 100%;
  margin: 16px auto 0;
  padding: 8px 12px;
  font-size: 1em;
  background: rgb(247 227 122 / 10%);
  border: 1px solid rgba(255,200,0,.25);
  border-radius: 6px;
  color: #c9a94a;
  text-align: left;
  line-height: 1.5;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .site-header nav a:not(.btn-cta) { display: none; }
}
@media (max-width: 700px) {
  .code-compare { grid-template-columns: 1fr; }
  .demo-controls { gap: 16px; }
  .demo-area { padding: 20px 14px; border-radius: 10px; }
  .iframe-preview iframe { height: 350px; }
  .content-wide {
    width: calc(100vw - 24px);
  }
  .compare-table { font-size: .95rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .compare-table th { font-size: 1rem; }
  .fp-upsell-block { border-radius: 10px; }
  .fp-upsell-presets { padding: 12px; gap: 6px; }
  .fp-upsell-preset { padding: 5px 14px; font-size: .8rem; }
  .fp-upsell-controls { padding: 16px 14px; }
  .cta-section { padding: 48px 20px; }
  .cross-links { padding: 36px 20px; }
  .use-cases-grid { grid-template-columns: 1fr; gap: 14px; }
  .use-case-card { padding: 20px; }
  .faq-item summary { padding: 14px 16px; font-size: 1rem; }
  .faq-item .faq-answer { padding: 0 16px 14px; }
}
@media (max-width: 500px) {
  body { padding-top: 78px; }
  .site-header { padding: 10px 10px; }
  .site-header .header-inner {
    width: calc(100% - 16px);
    padding: 0 8px 0 16px;
    height: 54px;
    gap: 8px;
  }
  .site-header .header-logo { font-size: 1.05rem; gap: 8px; }
  .site-header .btn-cta { padding: 7px 16px; font-size: .875rem; }
  .hero { padding: 36px 16px 24px; }
  .hero h1 { margin-bottom: 12px; }
  .hero .subtitle { font-size: .95rem; }
  .content-section { padding: 40px 16px; }
  .content-wide {
    width: calc(100vw - 32px);
  }
  .demo-area { padding: 16px 12px; }
  .demo-preview { min-height: 200px; margin-bottom: 16px; }
  .demo-tabs { flex-wrap: wrap; gap: 4px; }
  .demo-tab { padding: 7px 14px; font-size: .8rem; }
  .control-group input[type="range"] { width: 100%; }
  .demo-controls { gap: 14px; }
  .code-block { padding: 14px 12px; margin: 14px 0; }
  .iframe-preview iframe { height: 280px; }
  .fp-upsell-presets { flex-wrap: wrap; }
  .btn-view-code { width: 100%; justify-content: center; padding: 10px 16px; }
  .btn-suggest-float { font-size: 12px; padding: 5px 10px; }
  .btn-suggest-fixed { bottom: 16px; right: 12px; font-size: 12px; padding: 6px 12px; }
  .breadcrumb ol { font-size: .95rem; padding: 0 14px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  .cross-links-grid { gap: 8px; }
  .cross-link { padding: 10px 14px; font-size: .875rem; }
  .footer-links { gap: 16px; }
  #code-modal { padding: 12px; }
  #code-modal-box { max-height: 90vh; }
  #code-modal-pre { padding: 14px 12px !important; font-size: .78rem !important; }
}
