/* ============================================================
   KASCADO SHARED CSS
   Tokens, reset, nav, footer, buttons, final CTA, reveal.
   Single source of truth — loaded by every page.
   ============================================================ */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --kascado-navy:        #0a1628;
  --kascado-navy-mid:    #0F1D32;
  --kascado-navy-card:   #1E2A3F;
  --kascado-navy-deep:   #081220;
  --kascado-cyan:        #47c5fb;
  --kascado-cyan-hover:  #22B5F5;
  --kascado-cyan-dark:   #0284C7;
  --kascado-cyan-light:  #7AD5FC;

  --kascado-text:        #0F172A;
  --kascado-text-sec:    #475569;
  --kascado-text-dim:    #64748B;
  --kascado-text-muted:  #94A3B8;
  --kascado-text-on-dark:#CBD5E1;
  --kascado-border:      #CBD5E1;
  --kascado-border-lt:   #E2E8F0;
  --kascado-surface:     #F8FAFC;
  --kascado-surface-alt: #F1F5F9;
  --kascado-white:       #FFFFFF;

  --kascado-success:     #16A34A;
  --kascado-success-bg:  #DCFCE7;
  --kascado-success-on:  #15803D;
  --kascado-warning:     #F59E0B;
  --kascado-warning-bg:  #FEF3C7;
  --kascado-warning-on:  #92400E;
  --kascado-error:       #DC2626;
  --kascado-error-bg:    #FEE2E2;
  --kascado-error-on:    #B91C1C;

  --kascado-font-sans:     'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --kascado-section-pad:     112px;
  --kascado-section-pad-mob: 64px;

  --kascado-grad-dark:     linear-gradient(135deg, #0F1D32 0%, #0a1628 100%);
  --kascado-grad-cyan:     linear-gradient(135deg, #7AD5FC 0%, #47c5fb 50%, #0284C7 100%);
  --kascado-grad-cyan-soft:linear-gradient(135deg, rgba(122,213,252,0.18) 0%, rgba(71,197,251,0.10) 100%);

  --kascado-grad-section-wash:
    linear-gradient(270deg, rgba(71,197,251,.06) 0%, rgba(71,197,251,.02) 25%, rgba(71,197,251,0) 50%),
    linear-gradient(180deg, rgba(2,132,199,.03) 0%, rgba(2,132,199,0) 60%);

  --kascado-btn:         #0284C7;
  --kascado-btn-glow:    rgba(122, 213, 252, 0.8);
  --kascado-btn-bg:      rgba(2, 132, 199, 0.3);

  --kascado-shadow-card:   0 1px 2px rgba(15,23,42,.04), 0 1px 1px rgba(15,23,42,.03);
  --kascado-shadow-hover:  0 18px 38px -18px rgba(10,22,40,.18), 0 8px 14px -10px rgba(10,22,40,.12);
  --kascado-shadow-glow:   0 0 0 1px rgba(71,197,251,.10), 0 18px 60px -18px rgba(71,197,251,.30);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--kascado-font-sans);
  color: var(--kascado-text);
  background: var(--kascado-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
.kascado-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
::selection { background: rgba(71,197,251,.30); color: #081220; }

/* ============================================================
   NAV
   ============================================================ */
.kascado-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.kascado-nav.kascado-scrolled {
  background: #0a1628;
  border-bottom-color: rgba(122,213,252,.14);
  box-shadow: 0 8px 28px -12px rgba(0,0,0,.55);
}
.kascado-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.kascado-logo { display: flex; align-items: center; gap: 12px; }
.kascado-logo-img { display: block; }

.kascado-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.kascado-nav-links a { color: #CBD5E1; font-size: 14px; font-weight: 500; transition: color .15s; position: relative; }
.kascado-nav-links a:hover { color: #fff; }
.kascado-nav-links a.active { color: var(--kascado-cyan); }
.kascado-nav-links li:last-child {
  margin-left: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(122,213,252,.18);
}
.kascado-nav-links .kascado-nav-cta-link {
  background-image: linear-gradient(to right, #0284C7 0%, #162a45 51%, #0284C7 100%);
  background-size: 200% auto;
  color: var(--kascado-white);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  box-shadow: 0 1px 3px rgba(2,132,199,0.4), 0 4px 12px -4px rgba(2,132,199,0.25);
  transition: background-position .5s ease, box-shadow .25s ease, transform .18s ease;
  display: inline-flex; align-items: center; gap: 6px;
  overflow: hidden;
  position: relative;
}
.kascado-nav-links .kascado-nav-cta-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
}
.kascado-nav-links .kascado-nav-cta-link:hover {
  background-position: right center;
  color: var(--kascado-white);
  box-shadow: 0 1px 3px rgba(2,132,199,0.4), 0 4px 12px -4px rgba(2,132,199,0.25), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.kascado-nav-links .kascado-nav-cta-link:active {
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.3);
  transform: translateY(0);
}
.kascado-nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  padding: 0; margin: 0;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 200;
}
.kascado-nav-toggle span {
  display: block;
  width: 22px; height: 1.75px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 9px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.kascado-nav-toggle span:nth-child(1) { top: 14px; }
.kascado-nav-toggle span:nth-child(2) { top: 20px; }
.kascado-nav-toggle span:nth-child(3) { top: 26px; }
.kascado-nav.kascado-nav-open .kascado-nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.kascado-nav.kascado-nav-open .kascado-nav-toggle span:nth-child(2) { opacity: 0; }
.kascado-nav.kascado-nav-open .kascado-nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.kascado-footer {
  padding: 56px 0 32px;
  background: var(--kascado-navy-deep);
  border-top: 1px solid rgba(71,197,251,.06);
  color: var(--kascado-text-muted);
}
.kascado-footer-grid {
  display: grid; grid-template-columns: 280px auto auto auto;
  justify-content: center; gap: 180px; margin-bottom: 48px;
}
.kascado-footer-brand { max-width: 280px; }
.kascado-footer-brand-top { margin-bottom: 8px; margin-left: -6px; }
.kascado-footer-wordmark { font-weight: 800; font-size: 15px; letter-spacing: 0.08em; color: #fff; }
.kascado-footer-tagline {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  color: #64748B; font-weight: 600; margin-bottom: 24px; white-space: nowrap;
}
.kascado-footer-brand > p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.kascado-footer-socials { display: flex; gap: 8px; margin-top: 24px; }
.kascado-social-link {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  transition: background .2s, transform .2s;
}
.kascado-social-link:hover {
  background: rgba(71,197,251,0.15);
  transform: translateY(-2px);
}
.kascado-social-link svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); transition: fill .2s; }
.kascado-social-link:hover svg { fill: var(--kascado-cyan); }
.kascado-footer-col .kascado-footer-heading {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.6); margin-bottom: 24px;
}
.kascado-footer-col ul { list-style: none; }
.kascado-footer-col li { margin-bottom: 12px; }
.kascado-footer-col a {
  font-size: 14px; font-weight: 400; line-height: 1.6;
  color: rgba(255,255,255,0.75); transition: color .2s;
  white-space: nowrap;
}
.kascado-footer-col a:hover { color: var(--kascado-cyan); }
.kascado-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 32px;
  padding: 24px 0 0;
  text-align: center;
}
.kascado-footer-copy { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.35); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.kascado-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.kascado-reveal.kascado-in { opacity: 1; transform: translateY(0); }
.kascado-reveal.kascado-d1 { transition-delay: .08s; }
.kascado-reveal.kascado-d2 { transition-delay: .16s; }
.kascado-reveal.kascado-d3 { transition-delay: .24s; }
.kascado-reveal.kascado-d4 { transition-delay: .32s; }
.kascado-reveal.kascado-d5 { transition-delay: .40s; }
.kascado-reveal.kascado-d6 { transition-delay: .48s; }

/* ============================================================
   BUTTONS — shared button system
   Cyan base with white-ice mouse-tracking glow.
   ============================================================ */

/* Base */
.kascado-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--kascado-font-sans); font-weight: 700; font-size: 16px;
  padding: 12px 24px; border-radius: 0.5rem;
  border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; z-index: 0;
  transition: box-shadow .25s ease, transform .18s ease;
}
.kascado-btn-sm { padding: 9px 18px; font-size: 14px; }

/* Primary — sliding gradient: cyan-dark → navy → cyan-dark */
.kascado-btn-primary {
  background-image: linear-gradient(to right, #0284C7 0%, #162a45 51%, #0284C7 100%);
  background-size: 200% auto;
  color: var(--kascado-white);
  box-shadow: 0 1px 3px rgba(2,132,199,0.4), 0 4px 12px -4px rgba(2,132,199,0.25);
  transition: background-position .5s ease, box-shadow .25s ease, transform .18s ease;
}
.kascado-btn-primary:hover {
  background-position: right center;
  box-shadow: 0 1px 3px rgba(2,132,199,0.4), 0 4px 12px -4px rgba(2,132,199,0.25), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.kascado-btn-primary:active {
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.3);
  transform: translateY(0);
}
.kascado-btn-primary:focus-visible {
  outline: 4px solid rgba(2, 132, 199, 0.5);
  outline-offset: 2px;
}

/* Secondary — outlined with sliding gradient fill on hover */
.kascado-btn-secondary {
  background: transparent;
  color: var(--kascado-white);
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color .3s ease, background-position .5s ease, background-color .3s ease, transform .18s ease;
}
.kascado-btn-secondary:hover {
  border-color: rgba(2,132,199,0.6);
  background-color: rgba(2,132,199,0.12);
  transform: translateY(-1px);
}
.kascado-btn-secondary:active { transform: translateY(0); }
.kascado-btn-secondary:focus-visible {
  outline: 4px solid rgba(2, 132, 199, 0.5);
  outline-offset: 2px;
}

/* Arrow icon inside buttons */
.kascado-btn .kascado-arrow-icon {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform .2s ease;
}
.kascado-btn:hover .kascado-arrow-icon { transform: translateX(3px); }

/* Text link — no background, just colored text + arrow */
.kascado-btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--kascado-cyan-dark);
  text-decoration: none; transition: color .15s, gap .2s;
}
.kascado-btn-text:hover { color: var(--kascado-cyan-hover); gap: 10px; }
.kascado-btn-text svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
}
.kascado-btn-text-sm {
  font-size: 13px; font-weight: 500; color: var(--kascado-text-dim); gap: 4px;
}
.kascado-btn-text-sm:hover { color: var(--kascado-cyan-dark); }
.kascado-btn-text-sm svg { width: 12px; height: 12px; }
.kascado-btn-text-lg { font-size: 16px; }
.kascado-btn-text-on-dark { color: rgba(255, 255, 255, 0.6); }
.kascado-btn-text-on-dark:hover { color: var(--kascado-cyan-light); }

/* ============================================================
   SECTION TYPOGRAPHY
   Kicker (line-decorated label), title, desc.
   ============================================================ */
.kascado-section-kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  color: var(--kascado-cyan-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kascado-section-kicker::before {
  content: ""; width: 22px; height: 1px; background: currentColor;
}

.kascado-section-title {
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--kascado-text);
}

.kascado-section-desc {
  font-size: 17px;
  line-height: 1.7;
  max-width: 620px;
  color: var(--kascado-text-sec);
  margin-bottom: 56px;
}

/* Centered section header wrapper */
.kascado-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.kascado-section-header .kascado-section-kicker { justify-content: center; }
.kascado-section-header .kascado-section-title,
.kascado-section-header .kascado-section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Dark section text overrides */
.kascado-dark .kascado-section-kicker { color: var(--kascado-cyan); }
.kascado-dark .kascado-section-title { color: #fff; }
.kascado-dark .kascado-section-desc { color: var(--kascado-text-muted); }

/* ============================================================
   BREADCRUMB
   Inline path trail used inside dark hero sections.
   ============================================================ */
.kascado-breadcrumb {
  font-size: 13px; color: var(--kascado-text-muted); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.kascado-breadcrumb a { color: var(--kascado-text-muted); transition: color .15s; }
.kascado-breadcrumb a:hover { color: var(--kascado-cyan); }
.kascado-bc-sep { color: rgba(148,163,184,.4); font-size: 11px; }
.kascado-bc-current { color: var(--kascado-cyan-light); }

/* ============================================================
   FAQ ACCORDION
   Plus/minus toggle, single-open behaviour via shared.js.
   ============================================================ */
section.faq { padding: var(--kascado-section-pad) 0; background: var(--kascado-white); }
section.faq.faq-alt { background: var(--kascado-surface-alt); }
.kascado-faq { max-width: 800px; margin: 0 auto; }
.kascado-faq-item { border-bottom: 1px solid var(--kascado-border-lt); }
.kascado-faq-item:first-child { border-top: 1px solid var(--kascado-border-lt); }
.kascado-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 17px; font-weight: 600;
  color: var(--kascado-text); text-align: left; font-family: inherit;
  gap: 16px; transition: color .2s;
}
.kascado-faq-q:hover { color: var(--kascado-cyan-dark); }
.kascado-faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  position: relative;
}
.kascado-faq-icon::before,
.kascado-faq-icon::after {
  content: ''; position: absolute; background: var(--kascado-text-dim);
  border-radius: 1px; transition: transform .25s ease, opacity .25s ease;
}
.kascado-faq-icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.kascado-faq-icon::after  { width: 2px; height: 14px; top: 5px; left: 11px; }
.kascado-faq-item.open .kascado-faq-icon::after { transform: rotate(90deg); opacity: 0; }
.kascado-faq-item.open .kascado-faq-q { color: var(--kascado-cyan-dark); }
.kascado-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.kascado-faq-item.open .kascado-faq-a { max-height: 900px; }
.kascado-faq-a-inner {
  padding: 0 0 24px; font-size: 15.5px; line-height: 1.7; color: var(--kascado-text-sec);
}
.kascado-faq-a-inner p + p { margin-top: 14px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.kascado-final-cta {
  background: var(--kascado-navy);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--kascado-section-pad) 0;
}
.kascado-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--kascado-grad-section-wash);
  pointer-events: none;
}
.kascado-final-cta .kascado-container { position: relative; z-index: 2; }
.kascado-final-cta-inner { max-width: 720px; margin: 0 auto; }
.kascado-final-cta h2 {
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 54px);
  letter-spacing: -.01em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}
.kascado-final-cta p { font-size: 18px; color: var(--kascado-text-muted); margin-bottom: 36px; }
.kascado-final-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   HERO — dark hero section background
   Provides navy bg, gradient wash, aurora glow, and grid overlay.
   Pages add their own padding and content layout.
   ============================================================ */
.kascado-hero {
  background: var(--kascado-navy);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--kascado-text-on-dark);
}
.kascado-hero::before { display: none; }
.kascado-hero-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -2;
  will-change: transform;
  width: 760px; height: 760px;
  top: 50%; right: -360px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(71,197,251,.13) 0%, rgba(71,197,251,0) 65%);
  animation: kascado-float-right 24s ease-in-out infinite;
  opacity: .85;
}
@keyframes kascado-float-right {
  0%,100% { transform: translate3d(0,-50%,0); }
  50%     { transform: translate3d(-20px,-48%,0); }
}
.kascado-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(71,197,251,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71,197,251,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 75%);
  z-index: -1;
  opacity: .55;
}

/* Centered hero variant — content/legal pages with breadcrumb, title, subtitle */
.kascado-hero-centered .hero-inner { text-align: center; }
.kascado-hero-centered .hero-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   CARDS — shared tile/card system
   ============================================================ */

/* Base tile — 4-effect hover: border glow, -2px lift, shadow, gradient overlay */
.kascado-tile {
  background: var(--kascado-white);
  border: 1px solid var(--kascado-border-lt);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.kascado-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(71,197,251,.08) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.kascado-tile:hover { border-color: rgba(71,197,251,.3); transform: translateY(-2px); box-shadow: var(--kascado-shadow-hover); }
.kascado-tile:hover::before { opacity: 1; }

/* Works-With cards — extends .kascado-tile */
.kascado-ww-card { border-color: var(--kascado-border); display: flex; flex-direction: column; }
.kascado-ww-card.kascado-ww-soon { opacity: .7; }
.kascado-ww-card.kascado-ww-soon::before { display: none; }
.kascado-ww-card.kascado-ww-soon:hover { opacity: .85; }
.kascado-ww-card.kascado-ww-soon:hover::before { display: block; opacity: 1; }
.kascado-ww-name { font-size: 18px; font-weight: 700; color: var(--kascado-text); margin-bottom: 10px; }
.kascado-ww-desc { font-size: 14px; line-height: 1.6; color: var(--kascado-text-sec); margin-bottom: 16px; flex: 1; }
.kascado-ww-cta { margin-top: auto; }

/* Pill badges — Free / Paid / Coming Soon */
.kascado-pill {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.kascado-pill::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; flex-shrink: 0;
}
.kascado-pill-free { background: rgba(22,163,74,0.08); color: var(--kascado-success); }
.kascado-pill-free::before { background: var(--kascado-success); animation: kascado-pulse-dot 2s ease-in-out infinite; }
.kascado-pill-paid { background: rgba(22,163,74,0.08); color: var(--kascado-success); }
.kascado-pill-paid::before { background: var(--kascado-success); }
.kascado-pill-launch { background: rgba(71,197,251,0.08); color: var(--kascado-cyan-dark); }
.kascado-pill-launch::before { background: var(--kascado-cyan-dark); }
.kascado-pill-soon { background: rgba(2,132,199,0.08); color: var(--kascado-cyan-dark); }
.kascado-pill-soon::before { background: var(--kascado-cyan-dark); }

/* Works-With grid */
.kascado-ww-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }

/* Screenshot grid + tiles */
.kascado-ss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.kascado-ss-cell { display: flex; flex-direction: column; }
.kascado-ss-item {
  background: var(--kascado-surface); border: 1px solid var(--kascado-border-lt);
  border-radius: 12px; aspect-ratio: 16/10; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--kascado-text-dim); font-size: 12px; font-weight: 600;
  transition: border-color .2s, transform .2s, box-shadow .2s; cursor: pointer;
  position: relative; overflow: hidden;
}
.kascado-ss-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(71,197,251,.08) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.kascado-ss-item:hover { border-color: rgba(71,197,251,.3); transform: translateY(-2px); box-shadow: var(--kascado-shadow-hover); }
.kascado-ss-item:hover::before { opacity: 1; }
.kascado-ss-item svg { width: 24px; height: 24px; stroke: var(--kascado-border); fill: none; stroke-width: 1.5; }
.kascado-ss-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.kascado-ss-caption { font-size: 12px; color: var(--kascado-text-sec); padding: 8px 0 0; text-align: center; }

/* Screenshot lightbox */
.kascado-lightbox { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 24px; }
.kascado-lightbox[hidden] { display: none; }
.kascado-lightbox-backdrop { position: absolute; inset: 0; background: rgba(10, 22, 40, 0.75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.kascado-lightbox-container {
  position: relative; max-width: 1100px; width: 100%; max-height: calc(100vh - 48px);
  display: flex; flex-direction: column; align-items: center;
}
.kascado-lightbox-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, color .15s;
}
.kascado-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.kascado-lightbox-img {
  max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.kascado-lightbox-caption {
  margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.7);
  text-align: center; font-weight: 500;
}
.kascado-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, color .15s;
}
.kascado-lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.kascado-lightbox-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kascado-lightbox-prev { left: 20px; }
.kascado-lightbox-next { right: 20px; }
@media (max-width: 768px) {
  .kascado-lightbox { padding: 16px; }
  .kascado-lightbox-close { top: -40px; right: 4px; }
  .kascado-lightbox-prev { left: 8px; }
  .kascado-lightbox-next { right: 8px; }
  .kascado-lightbox-nav { width: 36px; height: 36px; }
}

/* Check bullet — green circle with checkmark */
.kascado-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(22,163,74,.10);
  display: flex; align-items: center; justify-content: center;
}
.kascado-check svg { width: 12px; height: 12px; stroke: var(--kascado-success); fill: none; stroke-width: 2.5; }

/* Pulse animation for "Free" badge dots */
@keyframes kascado-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ============================================================
   A2 PRODUCT DETAIL LAYOUT
   Two-column (content + sticky sidebar) used by product pages.
   Includes hero content, section typography, features,
   how-it-works subsections, and sidebar trust column.
   ============================================================ */

/* Hero content layout (inside .kascado-hero) */
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; }
.hero-content { max-width: 640px; }
.hero-bc { justify-content: flex-start; }
.hero-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.hero-tag {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px;
  color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(71,197,251,0.18); text-decoration: none;
  transition: border-color .15s, background .15s;
}
.hero-tag:hover { border-color: rgba(71,197,251,0.4); background: rgba(71,197,251,0.08); }
.hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--kascado-white); line-height: 1.08; margin-bottom: 20px; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--kascado-text-muted); max-width: 560px; margin-bottom: 36px; font-weight: 400; }
.hero-sub strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero centered layout — product pages without hero card */
.hero-inner--centered {
  text-align: center; max-width: 800px;
}
.hero-inner--centered .hero-bc { justify-content: center; }
.hero-inner--centered .hero-tags { justify-content: center; }
.hero-inner--centered .hero-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-inner--centered .hero-actions { justify-content: center; }

/* Hero split layout — product info left, CTA card right */
.hero-inner--split {
  display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
}

/* Hero card — glassmorphism CTA card on dark hero */
.hero-card {
  width: 320px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 16px; padding: 32px;
}
.hero-card-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--kascado-success); margin-bottom: 12px;
}
.hero-card-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--kascado-success);
}
.hero-card-badge--pro { color: var(--kascado-cyan-light); }
.hero-card-badge--pro::before { background: var(--kascado-cyan-light); }
.hero-card-heading {
  font-size: 20px; font-weight: 800; color: var(--kascado-white);
  margin-bottom: 4px; letter-spacing: -0.01em;
}
.hero-card-sub {
  font-size: 13px; color: var(--kascado-text-muted); margin-bottom: 20px; line-height: 1.5;
}
.hero-card-btn { width: 100%; height: 48px; }
.hero-card-signals { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.hero-card-signal {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.6);
}
.hero-card-signal svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Hero card footer links — muted text links below trust signals */
.hero-card-footer-links {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px;
}
.hero-card-footer-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color .15s;
}
.hero-card-footer-links a:hover { color: rgba(255, 255, 255, 0.75); }
.hero-card-footer-sep { color: rgba(255, 255, 255, 0.2); font-size: 10px; }
.hero-card-specs {
  margin-top: 10px;
  font-size: 11px; color: rgba(255, 255, 255, 0.25);
  text-align: center; letter-spacing: 0.01em;
}

/* Product info bar — slim spec strip below hero */
.product-info-bar {
  background: var(--kascado-surface); border-bottom: 1px solid var(--kascado-border-lt);
}
.product-info-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  font-size: 13px; font-weight: 400; color: var(--kascado-text-sec);
}
.product-info-bar-inner span { white-space: nowrap; }
.product-info-bar-inner span + span::before {
  content: '\b7'; margin-right: 8px; color: var(--kascado-text-muted);
}
.product-info-bar-specs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-info-bar-specs span { white-space: nowrap; }
.product-info-bar-specs span + span::before {
  content: '\b7'; margin-right: 8px; color: var(--kascado-text-muted);
}
.product-info-bar-links { display: flex; gap: 16px; flex-shrink: 0; }
.product-info-bar-links a {
  color: var(--kascado-cyan-dark); font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: color .15s;
}
.product-info-bar-links a:hover { color: var(--kascado-text); }

/* Info chips — modern pill specs for product info bar */
.info-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  font-size: 12px; font-weight: 500;
  color: var(--kascado-text-sec);
  background: var(--kascado-white);
  border: 1px solid var(--kascado-border-lt);
  border-radius: 20px;
  white-space: nowrap;
}
.info-chip svg {
  width: 13px; height: 13px; flex-shrink: 0;
  color: var(--kascado-text-muted);
}
.info-chip--ok {
  color: var(--kascado-success-on);
  background: var(--kascado-success-bg);
  border-color: rgba(22, 163, 74, 0.15);
}
.info-chip--ok svg { color: var(--kascado-success); }

/* Page grid */
.page-body {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start;
}
.page-body--single { display: block; }
.page-body--single .s-kicker { display: flex; justify-content: center; }
.page-body--single .s-title { text-align: center; }
.page-body--single .s-desc { text-align: center; margin-left: auto; margin-right: auto; }

/* Main content column */
.main { min-width: 0; }
.section { padding: 80px 0; border-bottom: 1px solid var(--kascado-border-lt); }
.section:last-child { border-bottom: none; }
.s-kicker {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--kascado-cyan-dark); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.s-kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.s-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; color: var(--kascado-text); margin-bottom: 20px; }
.s-desc { font-size: 17px; line-height: 1.7; color: var(--kascado-text-sec); max-width: 640px; }
.s-desc strong { color: var(--kascado-text); font-weight: 600; }

/* Features — 2-column checkbox grid */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 56px; margin-top: 40px; }
.page-body--single .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 40px; }
.page-body--single .how-sub { grid-template-columns: 2fr 3fr; }
.page-body--single .how-sub.reverse { grid-template-columns: 3fr 2fr; }
.page-body--single .ww-compact-grid { max-width: 800px; margin-left: auto; margin-right: auto; }
.feat-item {
  font-size: 15px; font-weight: 600; color: var(--kascado-text);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.45;
}
.feat-check { color: var(--kascado-cyan-dark); flex-shrink: 0; font-size: 15px; margin-top: 1px; }

/* How it works — alternating subsections */
.how-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--kascado-border-lt); }
.how-sub:last-child { border-bottom: none; padding-bottom: 0; }
.how-sub:first-child { padding-top: 32px; }
.how-sub.reverse .how-text { order: 2; }
.how-sub.reverse .how-visual { order: 1; }
.how-sub--full { grid-template-columns: 1fr; max-width: 640px; }
.how-title { font-size: 24px; font-weight: 700; color: var(--kascado-text); margin-bottom: 14px; letter-spacing: -0.01em; }
.how-desc { font-size: 16px; line-height: 1.7; color: var(--kascado-text-sec); margin-bottom: 20px; }
.how-bullets { list-style: none; }
.how-bullets li {
  font-size: 14px; font-weight: 500; color: var(--kascado-text-sec);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6;
}
.how-bullets li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--kascado-cyan-dark); flex-shrink: 0; margin-top: 8px;
}
.how-visual {
  background: var(--kascado-surface); border: 1px solid var(--kascado-border-lt);
  border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center; color: var(--kascado-text-dim); font-size: 12px; font-weight: 600;
}

/* Section modifier — centered text for overview/FAQ */
.section--centered { text-align: center; }
.section--centered .s-kicker { justify-content: center; }
.section--centered .s-desc { margin-left: auto; margin-right: auto; }

/* Trust Bar — horizontal strip below hero, replaces sidebar */
.trust-bar { background: var(--kascado-surface); border-bottom: 1px solid var(--kascado-border-lt); }
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 32px 2rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start;
}
.trust-bar-col { display: flex; flex-direction: column; }
.trust-bar-cta .trust-badge { margin-bottom: 8px; }
.trust-bar-cta .trust-heading { font-size: 18px; margin-bottom: 4px; }
.trust-bar-cta .trust-sub { margin-bottom: 14px; }
.trust-bar-btn { width: auto; height: auto; }
.trust-bar-signals { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.trust-bar-signal { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--kascado-text-sec); }
.trust-bar-signal svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Sidebar — kept until all product pages migrate to trust-bar layout */
.sidebar { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 16px; padding-top: 80px; padding-bottom: 80px; }
.trust-card {
  background: var(--kascado-white); border: 1px solid var(--kascado-border-lt);
  border-radius: 14px; padding: 28px; box-shadow: var(--kascado-shadow-card);
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--kascado-success); margin-bottom: 16px;
}
.trust-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--kascado-success);
}
.trust-heading { font-size: 22px; font-weight: 800; color: var(--kascado-text); margin-bottom: 4px; letter-spacing: -0.01em; }
.trust-sub { font-size: 13px; color: var(--kascado-text-dim); margin-bottom: 20px; }
.trust-dl-btn { width: 100%; height: 50px; }
.trust-divider { border: none; border-top: 1px solid var(--kascado-border-lt); margin: 18px 0; }
.trust-signals { display: flex; flex-direction: column; gap: 8px; }
.trust-signal {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--kascado-text-sec); line-height: 1.5;
}
.trust-signal svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.info-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--kascado-text-dim); margin-bottom: 14px;
}
.info-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; }
.info-label { color: var(--kascado-text-sec); font-weight: 500; }
.info-val { color: var(--kascado-text); font-weight: 500; }
.info-val.compat { color: var(--kascado-success); display: flex; align-items: center; gap: 3px; }
.res-links { display: flex; flex-direction: column; }
.res-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; font-size: 14px; font-weight: 500; color: var(--kascado-cyan-dark);
  border-bottom: 1px solid rgba(203,213,225,0.3); transition: color .15s, gap .15s;
}
.res-link:last-child { border-bottom: none; }
.res-link:hover { color: var(--kascado-text); }
.res-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; transition: transform .15s; }
.res-link:hover svg { transform: translateX(2px); }

/* ============================================================
   FREE PRODUCT PAGE LAYOUT
   Two-column top (content + trust aside) then full-width
   alternating-background sections. Used by Customer Dashboard,
   Customer Statements, and future free product pages.
   ============================================================ */

/* Two-column top: content left (~60%) + trust aside right (340px) */
.page-top {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start;
}
.page-top .main-top { min-width: 0; }
.page-top .trust-aside { padding-top: 80px; }
.page-top .trust-aside .trust-card { margin-bottom: 16px; }
.page-top .trust-aside .trust-card:last-child { margin-bottom: 0; }
.page-top .section { border-bottom: none; }

/* Full-width section wrappers with alternating backgrounds */
.section-wrap { padding: 80px 0; }
.section-wrap-alt { background: var(--kascado-surface-alt); }
.section-wrap-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-wrap .section { padding: 0; border-bottom: none; }
.section-wrap .s-desc { max-width: none; }
.section-wrap .kascado-faq { margin: 0; }
.section-wrap-alt .how-sub { border-bottom-color: rgba(203, 213, 225, 0.4); }

/* How-visual override for product pages — clean white card */
.section-wrap .how-visual {
  background: var(--kascado-white); border: none;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 24px rgba(15, 23, 42, 0.06);
  aspect-ratio: auto; padding: 16px;
  display: flex; align-items: center; justify-content: center;
}
.section-wrap .how-visual img {
  width: 100%; height: auto; border-radius: 8px;
}

/* Works With compact tiles */
.ww-compact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.ww-compact-tile {
  display: flex; flex-direction: column; padding: 28px;
  text-decoration: none; color: var(--kascado-text);
  border: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ww-compact-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 8px 28px rgba(15, 23, 42, 0.05);
  border: none;
}
.ww-compact-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ww-compact-name { font-size: 16px; font-weight: 700; color: var(--kascado-text); }
.ww-compact-desc { font-size: 14px; line-height: 1.65; color: var(--kascado-text-sec); margin-top: 8px; flex: 1; }
.ww-compact-link { margin-top: 16px; }
.ww-compact-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--kascado-cyan-dark); background: rgba(2,132,199,0.08); padding: 4px 10px; border-radius: 4px; }
.ww-compact-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--kascado-cyan-dark); }
.ww-compact-badge--green { color: var(--kascado-success); background: rgba(22,163,74,0.08); display: inline-flex; align-items: center; gap: 6px; }
.ww-compact-badge--green::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--kascado-success); animation: kascado-pulse-dot 2s ease-in-out infinite; }

/* Screen reader only — visually hidden but accessible */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Email capture popup */
.kascado-popup-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.kascado-popup-overlay[hidden] { display: none; }
.kascado-popup-backdrop { position: absolute; inset: 0; background: rgba(10, 22, 40, 0.5); }
.kascado-popup-container { position: relative; background: var(--kascado-white); border-radius: 12px; padding: 40px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); }
.kascado-popup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; color: var(--kascado-text-dim); padding: 4px; line-height: 1; }
.kascado-popup-close:hover { color: var(--kascado-text); }
.kascado-popup-badges { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.kascado-popup-badge { display: inline-block; font-size: 11px; font-weight: 600; color: var(--kascado-cyan-dark); background: rgba(2,132,199,0.08); padding: 4px 10px; border-radius: 4px; }
.kascado-popup-badge--green { color: var(--kascado-success); background: rgba(22,163,74,0.08); display: inline-flex; align-items: center; gap: 6px; }
.kascado-popup-badge--green::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--kascado-success); animation: kascado-pulse-dot 2s ease-in-out infinite; }
.kascado-popup-container h3 { font-size: 20px; font-weight: 700; color: var(--kascado-text); margin-bottom: 8px; line-height: 1.3; }
.kascado-popup-desc { font-size: 14px; line-height: 1.6; color: var(--kascado-text-sec); margin-bottom: 24px; }
.kascado-popup-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.kascado-popup-email { width: 100%; padding: 14px 16px; font-size: 15px; font-family: var(--kascado-font-sans); border: 1px solid var(--kascado-border); border-radius: 8px; outline: none; transition: border-color 0.2s; box-sizing: border-box; }
.kascado-popup-email:focus { border-color: var(--kascado-cyan); box-shadow: 0 0 0 3px rgba(71,197,251,0.12); }
.kascado-popup-form .cf-turnstile { display: flex; justify-content: flex-start; }
.kascado-popup-submit { width: 100%; white-space: nowrap; }
.kascado-popup-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.kascado-popup-error { font-size: 13px; color: var(--kascado-error); margin-bottom: 12px; }
.kascado-popup-error[hidden] { display: none; }
.kascado-popup-footer-text { font-size: 12px; line-height: 1.6; color: var(--kascado-text-muted); }
.kascado-popup-footer-text p { margin-bottom: 4px; }
.kascado-turnstile-notice { margin-top: 8px; }
.kascado-turnstile-notice a { color: var(--kascado-text-dim); text-decoration: underline; }
.kascado-popup-success-state { text-align: center; padding: 24px 0; }
.kascado-popup-success-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--kascado-success-bg); color: var(--kascado-success); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 24px; font-weight: 700; }
.kascado-popup-success-state h3 { margin-bottom: 8px; }
.kascado-popup-success-state p { font-size: 14px; line-height: 1.6; color: var(--kascado-text-sec); margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE — shared nav / footer / reveal
   ============================================================ */
@media (max-width: 1024px) {
  .kascado-footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .kascado-ww-grid { grid-template-columns: 1fr 1fr; }
  .page-body { grid-template-columns: 1fr; }
  .sidebar { position: static; order: -1; padding-top: 40px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar .trust-card:first-child { grid-column: 1 / -1; }
  .how-sub { gap: 28px; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .trust-bar-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
  .trust-bar-cta .trust-sub { margin-bottom: 0; }
  .trust-bar-signals { margin-top: 0; }
  .page-body--single .feat-grid { grid-template-columns: 1fr 1fr; gap: 14px 56px; }
  .hero-inner--split { gap: 40px; }
  .hero-card { width: 280px; padding: 28px; }
  .page-top { grid-template-columns: 1fr; gap: 0; }
  .page-top .trust-aside { padding-top: 40px; padding-bottom: 40px; order: -1; }
}
@media (max-width: 768px) {
  .kascado-container { padding: 0 20px; }
  .kascado-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .kascado-ww-grid { grid-template-columns: 1fr; }
  .kascado-ss-grid { grid-template-columns: repeat(2, 1fr); }
  .kascado-nav-links {
    display: flex;
    position: fixed; inset: 72px 0 0 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 24px 24px 32px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(71,197,251,.12);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 150;
    overflow-y: auto;
  }
  .kascado-nav.kascado-nav-open .kascado-nav-links { transform: translateX(0); }
  .kascado-nav-links li { width: 100%; }
  .kascado-nav-links li:last-child { margin-left: 0; padding-left: 0; border-left: none; }
  .kascado-nav-links a {
    display: block; width: 100%;
    padding: 16px 4px; font-size: 17px;
    border-bottom: 1px solid rgba(71,197,251,.08);
  }
  .kascado-nav-links .kascado-nav-cta-link {
    margin-top: 18px;
    padding: 14px 20px;
    text-align: center;
    border-bottom: none;
    font-size: 15px;
  }
  .kascado-section-title { font-size: clamp(28px, 7.5vw, 36px); }
  .kascado-section-desc { font-size: 15px; }
  .kascado-faq-q { font-size: 15.5px; padding: 18px 0; gap: 12px; }
  .kascado-nav-toggle { display: inline-flex; }
  body.kascado-nav-locked { overflow: hidden; }
  .kascado-final-cta-actions { flex-direction: column; align-items: center; }
  .hero { padding: 120px 0 64px; }
  .hero h1 { font-size: clamp(30px, 7.5vw, 40px); }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-inner--centered .hero-actions { align-items: center; }
  .section { padding: 56px 0; }
  .section-wrap { padding: 56px 0; }
  .page-top .trust-aside { padding-top: 24px; padding-bottom: 32px; }
  .ww-compact-grid { grid-template-columns: 1fr; }
  .kascado-popup-container { padding: 24px; }
  .s-title { font-size: clamp(26px, 6vw, 32px); }
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-sub { grid-template-columns: 1fr; }
  .how-sub.reverse .how-text { order: 1; }
  .how-sub.reverse .how-visual { order: 2; }
  .sidebar { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .trust-bar-cta { flex-direction: column; grid-column: auto; }
  .trust-bar-cta .trust-sub { margin-bottom: 14px; }
  .hero-inner--split { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { width: 100%; max-width: 400px; }
  .product-info-bar-inner { justify-content: center; gap: 6px; }
  .product-info-bar-specs { justify-content: center; }
  .product-info-bar-links { justify-content: center; }
}
/* ============================================================
   DOC HUB — topic card grid for documentation index pages
   Used by plugin doc hubs (e.g. /documentation/woocommerce/customer-dashboard/)
   ============================================================ */
.docs-section { padding: var(--kascado-section-pad) 0; }
.docs-section-alt { background: var(--kascado-surface); }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card {
  display: flex; flex-direction: column;
  background: var(--kascado-white); border: 1px solid var(--kascado-border); border-radius: 14px;
  padding: 24px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden; text-decoration: none; color: inherit;
}
.topic-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(71,197,251,0.08) 0%, transparent 60%); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.topic-card:hover { border-color: rgba(71,197,251,0.3); transform: translateY(-2px); box-shadow: var(--kascado-shadow-hover); }
.topic-card:hover::before { opacity: 1; }
.topic-card:hover .topic-title { color: var(--kascado-cyan-dark); }
.topic-icon { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, rgba(71,197,251,0.1) 0%, rgba(2,132,199,0.15) 100%); border: 1px solid rgba(2,132,199,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.topic-icon svg { width: 18px; height: 18px; stroke: var(--kascado-cyan-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topic-title { font-size: 15px; font-weight: 700; color: var(--kascado-text); margin-bottom: 6px; transition: color 0.2s; }
.topic-desc { font-size: 13px; color: var(--kascado-text-sec); line-height: 1.55; }
.docs-section-alt .topic-card { background: var(--kascado-white); }

.docs-help { padding: 64px 0 80px; text-align: center; }
.docs-help-text { font-size: 15px; color: var(--kascado-text-sec); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.65; }

.hero-plugin-meta { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 16px; }

/* ============================================================
   DOC ARTICLE — article page layout, typography, TOC, callouts,
   prev/next nav, need-help CTA.
   Used by all documentation article pages.
   ============================================================ */

/* Compact hero for article pages */
.doc-hero { padding: 130px 0 56px; }

/* Two-column layout: content + TOC */
.doc-layout { display: grid; grid-template-columns: 1fr 200px; gap: 64px; padding: var(--kascado-section-pad) 0; }

/* Article typography */
.doc-article h2 { font-size: 22px; font-weight: 700; color: var(--kascado-text); margin: 48px 0 16px; padding-top: 24px; }
.doc-article h2:first-child { margin-top: 0; padding-top: 0; }
.doc-article h3 { font-size: 16px; font-weight: 700; color: var(--kascado-text); margin: 32px 0 10px; }
.doc-article p { font-size: 15px; color: var(--kascado-text-sec); line-height: 1.75; margin: 0 0 16px; }
.doc-article ul, .doc-article ol { margin: 0 0 16px; padding-left: 24px; }
.doc-article li { font-size: 15px; color: var(--kascado-text-sec); line-height: 1.75; margin-bottom: 6px; }
.doc-article li strong { color: var(--kascado-text); font-weight: 600; }
.doc-article strong { color: var(--kascado-text); font-weight: 600; }
.doc-article code { font-size: 13px; background: var(--kascado-surface); border: 1px solid var(--kascado-border); border-radius: 4px; padding: 2px 6px; font-family: 'SF Mono', 'Fira Code', monospace; }
.doc-article a { color: var(--kascado-cyan-dark); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.doc-article a:hover { border-bottom-color: var(--kascado-cyan-dark); }

/* Callout boxes */
.callout { border-radius: 10px; padding: 20px 24px; margin: 0 0 24px; font-size: 14px; line-height: 1.7; }
.callout p { font-size: 14px; margin: 0; }
.callout-info { background: rgba(71,197,251,0.08); border: 1px solid rgba(71,197,251,0.2); }
.callout-tip { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.callout-warn { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.2); }

/* TOC sidebar */
.doc-toc { position: sticky; top: 100px; align-self: start; }
.doc-toc-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--kascado-text-muted); margin-bottom: 14px; }
.doc-toc-list { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--kascado-border); }
.doc-toc-link { display: block; font-size: 13px; color: var(--kascado-text-sec); text-decoration: none; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; line-height: 1.5; }
.doc-toc-link:hover, .doc-toc-link.active { color: var(--kascado-cyan-dark); border-left-color: var(--kascado-cyan-dark); }

/* Prev/Next navigation */
.doc-nav { display: flex; justify-content: space-between; align-items: stretch; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--kascado-border); }
.doc-nav-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: none !important; font-size: 14px; font-weight: 600; color: var(--kascado-text-sec); transition: color 0.15s; }
.doc-nav-link:hover { color: var(--kascado-cyan-dark); border-bottom: none !important; }
.doc-nav-link svg { transition: transform 0.2s ease; }
.doc-nav-link:hover svg { transform: translateX(3px); }
.doc-nav-link:not(.doc-nav-next):hover svg { transform: translateX(-3px); }
.doc-nav-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.doc-nav-next { margin-left: auto; }

/* Need help CTA */
.doc-help { padding: 64px 0 80px; text-align: center; }
.doc-help-text { font-size: 15px; color: var(--kascado-text-sec); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.65; }

/* ============================================================
   DOC 3-COLUMN LAYOUT — sidebar nav + content + TOC
   Used by documentation inner pages with left navigation.
   ============================================================ */
.doc-layout-3col {
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 48px;
  padding: var(--kascado-section-pad) 0;
}
.doc-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.doc-sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--kascado-text-dim);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.doc-sidebar-back:hover { color: var(--kascado-cyan-dark); }
.doc-sidebar-back svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.doc-sidebar-section { margin-bottom: 24px; }
.doc-sidebar-section:last-child { margin-bottom: 0; }
.doc-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kascado-text-muted);
  margin-bottom: 10px;
  padding-left: 16px;
}
.doc-sidebar-links { list-style: none; padding: 0; margin: 0; }
.doc-sidebar-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--kascado-text-sec);
  text-decoration: none;
  padding: 6px 16px;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  border-radius: 0 6px 6px 0;
}
.doc-sidebar-link:hover {
  color: var(--kascado-cyan-dark);
  background: rgba(71, 197, 251, 0.04);
}
.doc-sidebar-link.active {
  color: var(--kascado-cyan-dark);
  border-left-color: var(--kascado-cyan-dark);
  background: rgba(71, 197, 251, 0.06);
  font-weight: 600;
}
.doc-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--kascado-navy);
  border: 1px solid rgba(71, 197, 251, 0.2);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.3);
}
.doc-sidebar-toggle svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.doc-sidebar-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 89;
  background: rgba(10, 22, 40, 0.3);
}
.doc-sidebar-overlay.active { display: block; }

/* TOC H3 indent */
.doc-toc-link--h3 { padding-left: 28px; font-size: 12px; }

/* Doc table */
.doc-article table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.doc-article th { text-align: left; font-weight: 600; color: var(--kascado-text); padding: 10px 16px; border-bottom: 2px solid var(--kascado-border); }
.doc-article td { padding: 10px 16px; border-bottom: 1px solid var(--kascado-border-lt); color: var(--kascado-text-sec); }
.doc-article tr:last-child td { border-bottom: none; }

/* ============================================================
   RESPONSIVE — shared nav / footer / reveal
   ============================================================ */
@media (max-width: 1024px) {
  .kascado-footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .kascado-ww-grid { grid-template-columns: 1fr 1fr; }
  .page-body { grid-template-columns: 1fr; }
  .sidebar { position: static; order: -1; padding-top: 40px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .sidebar .trust-card:first-child { grid-column: 1 / -1; }
  .how-sub { gap: 28px; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .trust-bar-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
  .trust-bar-cta .trust-sub { margin-bottom: 0; }
  .trust-bar-signals { margin-top: 0; }
  .page-body--single .feat-grid { grid-template-columns: 1fr 1fr; gap: 14px 56px; }
  .hero-inner--split { gap: 40px; }
  .hero-card { width: 280px; padding: 28px; }
  .page-top { grid-template-columns: 1fr; gap: 0; }
  .page-top .trust-aside { padding-top: 40px; padding-bottom: 40px; order: -1; }
  .doc-toc { display: none; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-layout-3col { grid-template-columns: 240px 1fr; }
  .doc-layout-3col .doc-toc { display: none; }
}
@media (max-width: 768px) {
  .kascado-container { padding: 0 20px; }
  .kascado-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .kascado-ww-grid { grid-template-columns: 1fr; }
  .kascado-ss-grid { grid-template-columns: repeat(2, 1fr); }
  .kascado-nav-links {
    display: flex;
    position: fixed; inset: 72px 0 0 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 24px 24px 32px;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(71,197,251,.12);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 150;
    overflow-y: auto;
  }
  .kascado-nav.kascado-nav-open .kascado-nav-links { transform: translateX(0); }
  .kascado-nav-links li { width: 100%; }
  .kascado-nav-links li:last-child { margin-left: 0; padding-left: 0; border-left: none; }
  .kascado-nav-links a {
    display: block; width: 100%;
    padding: 16px 4px; font-size: 17px;
    border-bottom: 1px solid rgba(71,197,251,.08);
  }
  .kascado-nav-links .kascado-nav-cta-link {
    margin-top: 18px;
    padding: 14px 20px;
    text-align: center;
    border-bottom: none;
    font-size: 15px;
  }
  .kascado-section-title { font-size: clamp(28px, 7.5vw, 36px); }
  .kascado-section-desc { font-size: 15px; }
  .kascado-faq-q { font-size: 15.5px; padding: 18px 0; gap: 12px; }
  .kascado-nav-toggle { display: inline-flex; }
  body.kascado-nav-locked { overflow: hidden; }
  .kascado-final-cta-actions { flex-direction: column; align-items: center; }
  .hero { padding: 120px 0 64px; }
  .hero h1 { font-size: clamp(30px, 7.5vw, 40px); }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-inner--centered .hero-actions { align-items: center; }
  .section { padding: 56px 0; }
  .section-wrap { padding: 56px 0; }
  .page-top .trust-aside { padding-top: 24px; padding-bottom: 32px; }
  .ww-compact-grid { grid-template-columns: 1fr; }
  .kascado-popup-container { padding: 24px; }
  .s-title { font-size: clamp(26px, 6vw, 32px); }
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .how-sub { grid-template-columns: 1fr; }
  .how-sub.reverse .how-text { order: 1; }
  .how-sub.reverse .how-visual { order: 2; }
  .sidebar { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .trust-bar-cta { flex-direction: column; grid-column: auto; }
  .trust-bar-cta .trust-sub { margin-bottom: 14px; }
  .hero-inner--split { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { width: 100%; max-width: 400px; }
  .product-info-bar-inner { justify-content: center; gap: 6px; }
  .product-info-bar-specs { justify-content: center; }
  .product-info-bar-links { justify-content: center; }
  .topic-grid { grid-template-columns: 1fr; }
  .doc-hero { padding: 120px 0 48px; }
  .doc-article h2 { font-size: 20px; margin: 36px 0 14px; }
  .doc-nav { flex-wrap: wrap; }
  .doc-layout-3col { grid-template-columns: 1fr; }
  .doc-sidebar {
    display: none; position: fixed; top: 72px; left: 0; bottom: 0;
    width: 280px; background: var(--kascado-white); z-index: 90; padding: 24px;
    box-shadow: 4px 0 24px rgba(10, 22, 40, 0.12); overflow-y: auto;
    max-height: none;
  }
  .doc-sidebar.doc-sidebar-open { display: block; }
  .doc-sidebar-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .kascado-reveal { opacity: 1; transform: none; }
}
