:root {
  --fluro: #b5db58;
  --dark: #3d661a;
  --bg: #e2f4e9;
  --max-container: 1600px;
  --side-pad: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow Condensed", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark);
  background: var(--bg);
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

#benefits .container {
  padding: 0 !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
}

.hero .container {
  max-width: 1200px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1rem;
}

.hero {
  position: relative;
  background: url("bg.jpg") center bottom / cover no-repeat, var(--bg);
  padding-top: 70px;
  padding-bottom: 300px;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}

.hero .cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--dark);
  color: var(--fluro);
  border: 0;
  border-radius: 10rem;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  font-size: 24px;
  letter-spacing: 1px;
}

.hero .cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
}

.line-space {
  padding-top: 20px;
  display: block;
}

.black-text {
  color: #000;
}

.wave {
  display: block;
  width: 100%;
  height: auto;
}

.canvas-wrap {
  padding: 0;
}

.canvas-box {
  display: grid;
  place-items: center;
  min-height: clamp(260px, 35vw, 520px);
  background: url('texture-bg.jpg') center / cover no-repeat;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(28px, 4vw, 52px);
}

.divider-title {
  text-align: center;
  padding: 28px 0 10px;
  background: #fff;
  color: var(--dark);
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 28px);
}

/* Loader overlay */
.cup-loader{
  position: absolute;        /* anchor to .stage */
  inset: 0;                  /* fill the stage */
  display: flex;             /* center content */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;             /* above canvas & .overlay */
  background: transparent;   /* you wanted no wash */
}

/* progress bar visuals (optional, if you don’t have them already) */
.cup-progress{ width:min(420px,70%); height:6px; background:rgba(0,0,0,.12);
  border-radius:999px; overflow:hidden }
.cup-progress > span{ display:block; height:100%; width:0; background:#7acb2b }

.cup-spinner{
  width:48px;height:48px;border-radius:50%;
  border:4px solid rgba(0,0,0,.15); border-top-color: rgba(0,0,0,.55);
  animation: cupspin 0.8s linear infinite;
}
@keyframes cupspin{to{transform:rotate(360deg)}}
.cup-progress{width:min(420px,70%);height:6px;background:rgba(0,0,0,.12);border-radius:999px;overflow:hidden}
.cup-progress > span{display:block;height:100%;background:#7acb2b}
.cup-label{font-weight:700;letter-spacing:.02em;color:#234;}


/* container you already have */
.video-band { background:#fff; }
.video-wrap { width:100%; display:flex; justify-content:center; }
.video-inner { width:100%; max-width:2000px; margin-inline:auto;}

/* frame + responsive video */
.video-frame { position:relative; overflow:hidden; }
#ccVideo { display:block; width:100%; height:auto; background:#000; }

/* big play button */
.video-play{
  position:absolute; inset:0;
  display:grid; place-items:center;
  background: radial-gradient(rgba(0,0,0,0), rgba(0,0,0,0));
  border:0; cursor:pointer; padding:0; margin:0;
  transition:opacity .2s ease;
}
.video-play:focus-visible { outline: 3px solid #b5db58; outline-offset: -3px; }

/* icon */
.video-play svg { width: 120px; height: 120px; }
.video-play circle { fill: rgba(0,0,0,.55); }
.video-play polygon { fill: #ffffff; }

.video-play:hover { opacity:.95; }

/* smaller on mobile */
@media (max-width: 680px){
  .video-play svg { width: 84px; height: 84px; }
}


.contact-band {
  background: var(--fluro);
  text-align: center;
  padding: 36px 0 60px;
}

.contact-band h3 {
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 14px;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px 26px;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.footer-logos {
  display: grid;
  gap: 38px;
  justify-content: center;
  grid-auto-flow: column;
  align-items: center;
  padding: 28px 0 40px;
}

.footer-logo {
  height: auto;
  width: 160px;
}

.footer-logo img {
  width: 100%;
}

.wrap {
  height: 350vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  isolation: isolate;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 2;
}

.note {
  position: absolute;
  top: 50%;
  max-width: 300px;
  line-height: 1.45;
  background: var(--dark);
  border-radius: 10px;
  padding: 14px 16px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  opacity: 0;
  transform: translate(var(--tx, 0), -50%) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  --linepx: 0px;
}

.note::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 3px;
  background: var(--dark);
  transform: translateY(-50%);
}

.note::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dark);
  transform: translateY(-47%);
  opacity: inherit;
}

.note.right {
  right: 8vw;
  --tx: 24px;
  text-align: left;
}

.note.right::before {
  right: 100%;
  width: var(--linepx);
}

.note.right::after {
  right: calc(100% + var(--linepx) - 4px);
}

.note.left {
  left: 8vw;
  --tx: -24px;
  text-align: left;
}

.note.left::before {
  left: 100%;
  width: var(--linepx);
}

.note.left::after {
  left: calc(100% + var(--linepx) - 4px);
}

.note.active {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.note h4 {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.5rem;
  color: var(--fluro);
}

.note p {
  margin: 0;
  font-size: 1.2rem;
  text-transform: none;
  font-weight: 300;
  letter-spacing: 0.05rem;
}

body.show-guides::before,
body.show-guides::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  width: 1px;
  background: #00e5ff;
  left: calc(50% - var(--max-container) / 2 + var(--side-pad));
  transform: translateX(0);
}

body.show-guides::after {
  left: auto;
  right: calc(50% - var(--max-container) / 2 + var(--side-pad));
}

/* Breakpoints */
@media (min-width: 1500px) {
  .hero {
    padding-bottom: 400px;
  }
}

@media (min-width: 1700px) {
  .hero {
    padding-bottom: 600px;
  }
}

@media (max-width: 900px) {
  :root {
    --side-pad: 28px;
  }
  .stage {
    height: 70vh;
  }
  .note {
    top: 100%;
    max-width: 100%;
  }
   .note.right{
    left: 0;
    --tx: 0;
    right:15px;
  }
  .note.left {
    left: 15px;
    --tx: 0;
    right: 0;
  }
  .note.right::before,
  .note.right::after,
  .note.left::before,
  .note.left::after {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --side-pad: 18px;
  }
  .hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
