/* ─── Full-width override (body is 1200px on the main site) ── */
body {
  max-width: none;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.cs-hero {
  background: linear-gradient(160deg, #06020f 0%, #130622 55%, #0b0119 100%);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6.5rem;
  text-align: center;
}

.cs-hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(200, 0, 255, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.cs-hero-inner {
  position: relative;
  z-index: 1;
}

#csNeonSign.dim .neon-line {
  color: #aa33cc;
  text-shadow: 0 0 6px #aa33cc, 0 0 20px #7700aa, 0 0 40px #550088;
  transition: none;
}

.cs-eyebrow {
  margin-bottom: -0.8rem;
  line-height: 0.6;
}

.cs-eyebrow .neon-line {
  font-size: 2.4rem !important;
  opacity: 0.8;
  line-height: 0.6;
}

.cs-hero-title {
  margin: 0 0 0.6rem;
}

.cs-hero-title .neon-line {
  font-size: 6.5rem !important;
  line-height: 0.95;
}

.cs-hero-tagline {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin: 0.8rem 0 1.5rem;
  letter-spacing: 0.02em;
}

.cs-hero-sub {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.58);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.cs-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Overview ──────────────────────────────────────────────── */
.cs-overview {
  background: #fff8e9;
  padding: 5rem 0;
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.cs-overview-text .section-heading {
  display: block;
  text-align: left;
}

.cs-overview-text .section-heading::after {
  margin: 0.5rem 0 0;
}

.cs-body-text {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.2rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.cs-screens {
  display: flex;
  flex-direction: column;
}

.cs-screen-wrap {
  display: block;
  width: 92%;
  cursor: zoom-in;
}

.cs-screen-wrap-back {
  align-self: flex-start;
}

.cs-screen-wrap-front {
  align-self: flex-end;
  margin-top: -2.75rem;
}

.cs-screen {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease;
}

.cs-screen-zoom {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 401;
}

/* Hover-to-preview only on devices with a real pointer/hover — on touch,
   :hover sticks after a tap with no way to "un-hover", so skip it there. */
@media (hover: hover) and (pointer: fine) {
  .cs-screen-wrap:hover .cs-screen {
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  }

  .cs-screen-wrap::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 20, 0);
    pointer-events: none;
    transition: background 0.2s ease;
    z-index: 400;
  }

  .cs-screen-wrap:hover::before {
    background: rgba(10, 8, 20, 0.6);
  }

  .cs-screen-wrap:hover .cs-screen-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ─── Shared section helpers ────────────────────────────────── */
.cs-section-sub {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.2rem;
  color: #555;
  max-width: 620px;
  margin: 0.5rem auto 3rem;
  line-height: 1.65;
}

/* ─── Capabilities ──────────────────────────────────────────── */
.cs-capabilities {
  background: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.cs-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  text-align: left;
}

.cs-capability-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  border-top: 3px solid #e8521a;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cs-capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.cs-cap-icon {
  width: 42px;
  height: 42px;
  color: #e8521a;
  margin-bottom: 1rem;
}

.cs-cap-icon svg {
  width: 100%;
  height: 100%;
}

.cs-capability-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}

.cs-capability-card p {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
}

/* ─── Architecture ──────────────────────────────────────────── */
.cs-architecture .cs-section-sub {
  max-width: none;
}
.cs-architecture {
  background: #fff8e9;
  padding: 5rem 0;
  text-align: center;
}

.cs-arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
  text-align: left;
}

.cs-arch-item {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-left: 4px solid #e8521a;
}

.cs-arch-icon {
  width: 36px;
  height: 36px;
  color: #e8521a;
  margin-bottom: 0.9rem;
}

.cs-arch-icon svg {
  width: 100%;
  height: 100%;
}

.cs-arch-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.6rem;
}

.cs-arch-item p {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
}

/* ─── Audience ──────────────────────────────────────────────── */
.cs-audience {
  background: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.cs-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
  text-align: left;
}

.cs-audience-item {
  border-radius: 8px;
  padding: 1.8rem;
  background: #f8f6f3;
  border-top: 3px solid #1a1a1a;
}

.cs-audience-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.6rem;
}

.cs-audience-item p {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
}

/* ─── Demo CTA ──────────────────────────────────────────────── */
.cs-demo {
  background: linear-gradient(135deg, #06020f 0%, #130622 100%);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cs-demo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(170, 0, 221, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.cs-demo-inner {
  position: relative;
  z-index: 1;
}

.cs-demo h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.9rem;
}

.cs-demo p {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

.cs-demo-form {
  max-width: 560px;
  margin: 0 auto;
}

.cs-demo-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cs-demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.cs-demo-input {
  width: 100%;
  padding: 0.94rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
}

.cs-demo-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cs-demo-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.cs-demo-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 560px) {
  .cs-demo-form-grid {
    grid-template-columns: 1fr;
  }
}

.cs-demo-form-note {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.8rem 0 0;
}

.cs-demo-thanks {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

body.sketch-mode .cs-demo-input {
  border-color: rgba(42, 35, 24, 0.25);
  background: rgba(42, 35, 24, 0.05);
  color: #2a2318;
}

body.sketch-mode .cs-demo-input::placeholder {
  color: rgba(42, 35, 24, 0.4);
}

body.sketch-mode .cs-demo-form-note {
  color: rgba(42, 35, 24, 0.5);
}

body.sketch-mode .cs-demo-thanks {
  color: #2a2318;
}

/* ─── Section waves ─────────────────────────────────────────── */
.cs-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.cs-wave svg {
  display: block;
  width: 100%;
  height: 50px;
}

.cs-overview,
.cs-capabilities,
.cs-architecture {
  position: relative;
  padding-bottom: calc(5rem + 50px);
}

/* ─── Sketch Hero ───────────────────────────────────────────── */
.cs-hero-sketch {
  background-color: #eceae7;
  background-image:
    linear-gradient(rgba(100, 120, 180, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 120, 180, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(100, 120, 180, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 120, 180, 0.06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

.cs-sketch-eyebrow {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(42, 35, 24, 0.65);
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.cs-sketch-title-svg {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin: 0 auto 0.4rem;
}

.cs-sketch-hero-tagline {
  color: #2a2318;
}

.cs-sketch-hero-sub {
  color: rgba(42, 35, 24, 0.62);
}

body.sketch-mode .cs-demo {
  background-color: #eceae7;
  background-image:
    linear-gradient(rgba(100, 120, 180, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 120, 180, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(100, 120, 180, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 120, 180, 0.06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

body.sketch-mode .cs-demo::before {
  background: none;
}

body.sketch-mode .cs-demo h2,
body.sketch-mode .cs-demo p {
  color: #2a2318;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cs-hero-title .neon-line {
    font-size: 4rem !important;
  }

  .cs-eyebrow .neon-line {
    font-size: 1.8rem !important;
  }

  .cs-hero-tagline {
    font-size: 1.5rem;
  }

  .cs-overview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cs-capabilities-grid,
  .cs-audience-grid {
    grid-template-columns: 1fr;
  }

  .cs-arch-grid {
    grid-template-columns: 1fr;
  }

  .cs-demo h2 {
    font-size: 1.8rem;
  }
}
