﻿/* ==========================================================================
   JDX DIGITAL — fixed viewport cloud field
   One viewport-sized cloud canvas behind the whole page. Content scrolls over
   it; the canvas itself never scrolls. Kept in its own file so concurrent
   page-style work in styles.css is not overwritten.
   ========================================================================== */

html {
  background: #f6f7fa;
}

body {
  background: transparent;
}

.site-cloud {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-cloud .hero-canvas {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  pointer-events: none;
  filter: contrast(1.14) saturate(1.12) brightness(1.005);
}

.site-cloud-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(247, 249, 252, 0.01) 0%,
      rgba(247, 249, 252, 0.03) 46%,
      rgba(247, 249, 252, 0.06) 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

/* More air between sections, so the fixed sky has room to be felt. */
.section {
  padding: clamp(72px, 6.6vw, 92px) 0;
}

.section-head {
  margin-bottom: clamp(24px, 2.6vw, 32px);
}

/* Hero stays the original composition; only its opaque wash is opened up
   enough for the fixed cloud to read through. */
.hero.hero-ref {
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(51, 92, 255, 0.06), transparent 62%),
    radial-gradient(900px 700px at 8% 30%, rgba(123, 92, 255, 0.04), transparent 60%),
    linear-gradient(180deg, rgba(248, 249, 252, 0.30) 0%, rgba(246, 247, 250, 0.18) 100%);
}

/* Glass sheets: each section keeps a tinted centre, while its top and bottom
   fade to transparent. Adjacent sections therefore leave a visible cloud band
   between them without introducing spacer markup. */
.services,
.work,
.process,
.stack,
.estimator-section,
.pricing,
.trust,
.insights,
.faq,
.contact,
.logo-strip,
.site-footer {
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  backdrop-filter: blur(12px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24);
}

.logo-strip {
  background: rgba(255, 255, 255, 0.40);
}

.services {
  background:
    linear-gradient(180deg,
      rgba(246, 247, 250, 0.00) 0,
      rgba(246, 247, 250, 0.50) 78px,
      rgba(246, 247, 250, 0.40) calc(100% - 78px),
      rgba(246, 247, 250, 0.00) 100%);
}

.work {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.00) 0,
      rgba(255, 255, 255, 0.48) 78px,
      rgba(255, 255, 255, 0.38) calc(100% - 78px),
      rgba(255, 255, 255, 0.00) 100%);
}

.process {
  background:
    radial-gradient(800px 500px at 0% 100%, rgba(51, 92, 255, 0.045), transparent 65%),
    linear-gradient(180deg,
      rgba(241, 243, 248, 0.00) 0,
      rgba(241, 243, 248, 0.50) 78px,
      rgba(241, 243, 248, 0.40) calc(100% - 78px),
      rgba(241, 243, 248, 0.00) 100%);
}

.stack {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.00) 0,
      rgba(255, 255, 255, 0.48) 78px,
      rgba(255, 255, 255, 0.38) calc(100% - 78px),
      rgba(255, 255, 255, 0.00) 100%);
}

.estimator-section {
  background:
    radial-gradient(900px 600px at 90% 0%, rgba(51, 92, 255, 0.075), transparent 62%),
    linear-gradient(180deg,
      rgba(244, 246, 251, 0.00) 0,
      rgba(244, 246, 251, 0.52) 78px,
      rgba(238, 242, 252, 0.42) 55%,
      rgba(246, 247, 250, 0.40) calc(100% - 78px),
      rgba(246, 247, 250, 0.00) 100%);
}

.pricing {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.00) 0,
      rgba(255, 255, 255, 0.48) 78px,
      rgba(255, 255, 255, 0.38) calc(100% - 78px),
      rgba(255, 255, 255, 0.00) 100%);
}

.trust {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(123, 92, 255, 0.05), transparent 60%),
    linear-gradient(180deg,
      rgba(246, 247, 250, 0.00) 0,
      rgba(246, 247, 250, 0.50) 78px,
      rgba(246, 247, 250, 0.40) calc(100% - 78px),
      rgba(246, 247, 250, 0.00) 100%);
}

.insights {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.00) 0,
      rgba(255, 255, 255, 0.48) 78px,
      rgba(255, 255, 255, 0.38) calc(100% - 78px),
      rgba(255, 255, 255, 0.00) 100%);
}

.faq {
  background:
    linear-gradient(180deg,
      rgba(246, 247, 250, 0.00) 0,
      rgba(246, 247, 250, 0.50) 78px,
      rgba(246, 247, 250, 0.40) calc(100% - 78px),
      rgba(246, 247, 250, 0.00) 100%);
}

.contact {
  background:
    radial-gradient(900px 600px at 100% 10%, rgba(123, 92, 255, 0.07), transparent 65%),
    linear-gradient(180deg,
      rgba(246, 248, 255, 0.00) 0,
      rgba(246, 248, 255, 0.50) 78px,
      rgba(238, 243, 255, 0.42) 70%,
      rgba(240, 244, 255, 0.38) calc(100% - 78px),
      rgba(240, 244, 255, 0.00) 100%);
}

.site-footer {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.00) 0,
      rgba(255, 255, 255, 0.56) 48px,
      rgba(255, 255, 255, 0.40) 100%);
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .services,
  .work,
  .process,
  .stack,
  .estimator-section,
  .pricing,
  .trust,
  .insights,
  .faq,
  .contact {
    -webkit-backdrop-filter: blur(9px) saturate(1.10);
    backdrop-filter: blur(9px) saturate(1.10);
  }

  .site-cloud-veil {
    background:
      linear-gradient(180deg,
        rgba(247, 249, 252, 0.02) 0%,
        rgba(247, 249, 252, 0.05) 50%,
        rgba(247, 249, 252, 0.10) 100%);
  }
}

