/* Tradeshow demo landing page */
.demo-page {
  --demo-ink: #102f5a;
  --demo-glow: rgba(39, 194, 164, 0.16);
  background: var(--cc-white);
}

.demo-page .section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.demo-header {
  background: rgba(16, 47, 90, 0.96);
  backdrop-filter: blur(16px);
}

.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.demo-nav-cta {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.demo-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: calc(var(--nav-height) + 76px) 0 92px;
  background:
    radial-gradient(circle at 15% 10%, rgba(47, 111, 237, 0.28), transparent 31rem),
    radial-gradient(circle at 88% 90%, var(--demo-glow), transparent 26rem),
    var(--demo-ink);
}

.demo-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
  pointer-events: none;
}

.demo-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: 66px;
  align-items: center;
}

.demo-eyebrow,
.demo-kicker {
  color: var(--cc-text-muted-on-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.demo-eyebrow > span {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--cc-teal);
}

.demo-hero h1 {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(2.65rem, 4.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.demo-hero-lead {
  max-width: 610px;
  color: rgba(255,255,255,.76);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.68;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.demo-hero-actions .btn,
.demo-inline-cta .btn,
.demo-final-cta .btn {
  min-height: 54px;
  padding-inline: 26px;
}

.demo-text-link {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.34);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.demo-text-link:hover {
  border-color: var(--cc-teal);
}

.demo-cta-note {
  margin-top: 14px;
  color: rgba(255,255,255,.55);
  font-size: 0.82rem;
}

.demo-hero-product {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 36px 80px rgba(2, 14, 34, .42);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--cc-border);
  background: var(--cc-surface);
}

.demo-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7ced8;
}

.demo-window-bar span:nth-child(3) { background: var(--cc-teal); }
.demo-window-bar p { margin-left: 8px; color: var(--cc-gray); font-size: .7rem; font-weight: 700; }
.demo-hero-product img { width: 100%; height: auto; }
.demo-hero-product figcaption { padding: 15px 20px; color: var(--cc-slate); font-size: .8rem; font-weight: 600; }

.demo-proof {
  border-bottom: 1px solid var(--cc-border);
  background: var(--white);
}

.demo-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.demo-proof-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 34px 42px;
  border-right: 1px solid var(--cc-border);
}

.demo-proof-grid > div:first-child { padding-left: 0; }
.demo-proof-grid > div:last-child { padding-right: 0; border-right: 0; }
.demo-proof strong { color: var(--cc-navy); font-size: 1.12rem; }
.demo-proof span { color: var(--cc-slate); font-size: .82rem; }

.demo-section-heading { max-width: 790px; }
.demo-section-heading .section-sub { max-width: 720px; margin-bottom: 48px; }
.demo-section-heading--center { margin-inline: auto; text-align: center; }
.demo-section-heading--center .section-sub { margin-inline: auto; }

.demo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.demo-feature-card {
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--cc-border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(21, 62, 117, .045);
}

.demo-feature-card .site-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 38px;
  color: var(--cc-blue);
}

.demo-feature-card h3 { margin-bottom: 9px; color: var(--cc-navy); font-size: 1.08rem; }
.demo-feature-card p { color: var(--cc-slate); font-size: .9rem; line-height: 1.62; }

.demo-inline-cta {
  padding: 46px 0;
  background: var(--cc-navy);
}

.demo-inline-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
}

.demo-kicker { margin-bottom: 6px; color: var(--cc-teal); }
.demo-inline-cta h2 { margin-bottom: 4px; color: var(--white); font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.2; }
.demo-inline-cta p:not(.demo-kicker) { color: rgba(255,255,255,.67); font-size: .95rem; }

.demo-product-story { background: var(--cc-surface); }
.demo-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.demo-story-card { overflow: hidden; border: 1px solid var(--cc-border); border-radius: 16px; background: var(--white); box-shadow: 0 16px 46px rgba(21, 62, 117, .08); }
.demo-story-card .product-shot-trigger { overflow: hidden; border-bottom: 1px solid var(--cc-border); }
.demo-story-card img { width: 100%; height: auto; transition: transform .35s ease; }
.demo-story-card .product-shot-trigger:hover img { transform: scale(1.015); }
.demo-story-copy { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 26px 28px; }
.demo-story-number { color: var(--cc-teal); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.demo-story-copy h3 { margin-bottom: 8px; color: var(--cc-navy); font-size: 1.1rem; }
.demo-story-copy div p { color: var(--cc-slate); font-size: .88rem; line-height: 1.6; }
.demo-lightbox-hint { margin-top: 20px; color: var(--cc-gray); font-size: .78rem; text-align: center; }

.demo-audience { background: var(--white); }
.demo-audience-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.demo-audience-grid > div > p { color: var(--cc-slate); font-size: 1.08rem; line-height: 1.75; }
.demo-audience-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.demo-audience-list li { padding: 9px 14px; border: 1px solid var(--cc-border); border-radius: 99px; color: var(--cc-navy); background: var(--cc-surface); font-size: .8rem; font-weight: 700; }

.demo-final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(47, 111, 237, .42), transparent 34rem),
    var(--demo-ink);
  text-align: center;
}

.demo-final-cta::before {
  position: absolute;
  top: -190px;
  left: 50%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
  content: "";
  transform: translateX(-50%);
}

.demo-final-cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.demo-final-cta .demo-eyebrow { justify-content: center; }
.demo-final-cta h2 { max-width: 800px; color: var(--white); font-size: clamp(2.3rem, 5vw, 4.5rem); letter-spacing: -.045em; line-height: 1.02; }
.demo-final-cta p:not(.demo-eyebrow) { max-width: 630px; margin: 22px auto 30px; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.7; }
.demo-final-note { margin-top: 14px; color: rgba(255,255,255,.52); font-size: .8rem; }

.demo-footer { padding: 34px 0; background: #0b2445; color: rgba(255,255,255,.64); }
.demo-footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.demo-footer img { width: 180px; height: auto; }
.demo-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; font-size: .78rem; font-weight: 600; }
.demo-footer a:hover { color: var(--white); }
.demo-footer p { font-size: .72rem; }
.demo-mobile-cta { display: none; }

@media (max-width: 1050px) {
  .demo-hero { min-height: auto; }
  .demo-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .demo-hero-copy { max-width: 780px; }
  .demo-hero-product { max-width: 820px; transform: none; }
  .demo-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-audience-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .demo-page { padding-bottom: 74px; }
  .demo-nav .nav-logo img { height: 36px; }
  .demo-nav-cta { display: none; }
  .demo-hero { padding: calc(var(--nav-height) + 42px) 0 58px; }
  .demo-hero h1 { font-size: clamp(2.5rem, 13vw, 4.1rem); }
  .demo-hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .demo-hero-actions .btn { width: 100%; }
  .demo-text-link { align-self: center; }
  .demo-cta-note { text-align: center; }
  .demo-proof-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .demo-proof-grid > div,
  .demo-proof-grid > div:first-child,
  .demo-proof-grid > div:last-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--cc-border); }
  .demo-proof-grid > div:last-child { border-bottom: 0; }
  .demo-feature-grid,
  .demo-story-grid,
  .demo-audience-grid { grid-template-columns: 1fr; }
  .demo-feature-card { min-height: auto; padding: 24px; }
  .demo-feature-card .site-icon { margin-bottom: 26px; }
  .demo-inline-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .demo-inline-cta .btn { width: 100%; }
  .demo-audience-grid { gap: 16px; }
  .demo-final-cta { padding: 76px 0; }
  .demo-final-cta .btn { width: 100%; }
  .demo-footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 22px; text-align: center; }
  .demo-mobile-cta { position: fixed; z-index: 150; right: 0; bottom: 0; left: 0; display: block; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.14); background: rgba(11, 36, 69, .96); backdrop-filter: blur(14px); }
  .demo-mobile-cta .btn { width: 100%; min-height: 48px; }
  .demo-page .cookie-banner { bottom: 82px; }
  .demo-page .screenshot-lightbox-dialog img { width: 900px; max-width: none; }
}

@media (max-width: 440px) {
  .demo-page .container { padding-inline: 18px; }
  .demo-hero-product figcaption { display: none; }
  .demo-window-bar { height: 32px; }
  .demo-story-copy { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-story-card img { transition: none; }
}
