/* Lake Boys Productions home page: a deep-blue, lake-themed landing page with scroll animations. */

:root {
  --deep: #061a4d;
  --navy: #0a2463;
  --blue: #1561e6;
  --blue-dark: #0e4bc0;
  --sky: #3aa8ff;
  --aqua: #7fd4ff;
  --ice: #eaf4ff;
  --ink: #0f2142;
  --muted: #53688c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}

/* ---------- scroll progress ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--sky), #ffffff);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- top bar ---------- */

.top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.top.solid {
  background: rgba(6, 26, 77, 0.88);
  box-shadow: 0 6px 24px rgba(3, 12, 40, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
  transition: height 0.3s ease;
}

.top.solid .top-inner {
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.brand svg {
  width: 36px;
  height: 36px;
  transition: transform 0.4s var(--ease);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  color: #d6e6ff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 3px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav a:hover {
  color: #ffffff;
}

.nav a.active {
  color: #ffffff;
}

.nav a:not(.nav-cta):hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav .nav-cta {
  margin-left: 8px;
  background: #ffffff;
  color: var(--navy);
}

.nav .nav-cta:hover {
  background: var(--ice);
  color: var(--navy);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 170px;
  background:
    radial-gradient(800px 460px at 88% -8%, rgba(127, 212, 255, 0.45), transparent 60%),
    radial-gradient(600px 380px at 5% 105%, rgba(58, 168, 255, 0.35), transparent 60%),
    linear-gradient(165deg, #061a4d 0%, #0e4bc0 55%, #3aa8ff 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  color: #ffffff;
  animation: sheen 18s ease-in-out infinite alternate;
}

@keyframes sheen {
  from { background-position: 0% 0%, 0% 100%, 0 0; }
  to { background-position: 100% 30%, 60% 70%, 0 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -1.5px;
}

.hero h1 .line {
  display: inline-block;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #ffffff, var(--aqua) 60%, #bfe3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 520px;
  margin: 0 0 30px;
  color: #d9ebff;
  font-size: 18.5px;
}

/* hero intro, plays once on load */
.eyebrow,
.hero h1 .line,
.hero p.lead,
.hero .btn-row {
  animation: rise 0.9s var(--ease) both;
}

.hero h1 .line:nth-child(1) { animation-delay: 0.12s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.26s; }
.hero p.lead { animation-delay: 0.4s; }
.hero .btn-row { animation-delay: 0.52s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn-white {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(3, 12, 40, 0.3);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 97, 230, 0.35);
}

.btn-blue:hover {
  box-shadow: 0 14px 28px rgba(21, 97, 230, 0.48);
}

/* the logo mark, big, with a soft glow */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art .glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 212, 255, 0.55), transparent 65%);
  animation: breathe 5s ease-in-out infinite;
}

.hero-art svg {
  position: relative;
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 28px 44px rgba(3, 12, 40, 0.5));
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* rising bubbles */
.bubbles,
.cta-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles i,
.cta-bubbles i {
  position: absolute;
  bottom: -40px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.06));
  animation: float var(--d) linear var(--t) infinite;
}

@keyframes float {
  0% { opacity: 0; transform: translate(0, 0); }
  12% { opacity: 1; }
  50% { transform: translate(14px, -45vh); }
  100% { opacity: 0; transform: translate(-10px, -95vh); }
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 118px;
  left: 50%;
  z-index: 2;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
}

.scroll-hint span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #ffffff;
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* animated waves along the bottom of the hero */
.waves {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 110px;
}

.waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.wave-a { animation: drift 16s linear infinite; opacity: 0.35; }
.wave-b { animation: drift 24s linear infinite reverse; opacity: 0.55; }
.wave-c { animation: drift 34s linear infinite; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.from-left { transform: translateX(-44px); }
.js .reveal.from-right { transform: translateX(44px) scale(0.96); }

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* children that pop in one after another once their parent is visible */
.js .stagger li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .stagger.in li,
.js .in .stagger li {
  opacity: 1;
  transform: none;
}

.stagger li:nth-child(1) { transition-delay: 0.25s; }
.stagger li:nth-child(2) { transition-delay: 0.4s; }
.stagger li:nth-child(3) { transition-delay: 0.55s; }
.stagger li:nth-child(4) { transition-delay: 0.7s; }

/* ---------- sections ---------- */

section {
  padding: 90px 0;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(21, 97, 230, 0.1);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.alt {
  background: var(--ice);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.card,
.step {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid #d5e6fb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(21, 97, 230, 0.09);
}

/* soft spotlight that follows the pointer */
.card::before,
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(58, 168, 255, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before,
.step:hover::before {
  opacity: 1;
}

.card > *,
.step > * {
  position: relative;
}

.js .card.reveal.in,
.js .step.reveal.in {
  transition: opacity 0.8s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.card.in:hover,
.step.in:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(21, 97, 230, 0.2);
}

.card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #ffffff;
  transition: transform 0.4s var(--ease);
}

.card:hover .icon {
  transform: rotate(-8deg) scale(1.1);
}

.card .icon svg {
  width: 30px;
  height: 30px;
}

.icon.yt { background: linear-gradient(135deg, #ff4a3d, #e62117); }
.icon.sp { background: linear-gradient(135deg, #14d392, #00a56c); }

.card h3,
.step h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 21px;
}

.card p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15.5px;
}

.card .btn {
  justify-content: center;
  padding: 12px 18px;
  font-size: 15px;
}

.card .btn + .btn {
  margin-top: 10px;
}

.btn-outline-blue {
  border-color: #b9d4fa;
  background: #ffffff;
  color: var(--blue);
}

.btn-outline-blue:hover {
  border-color: var(--blue);
  background: var(--ice);
}

/* ---------- SmartPass feature band ---------- */

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 52px;
}

.band h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.band p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 600;
}

.ticks svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #ffffff;
  padding: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.mock {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(160deg, #061a4d, #1561e6);
  box-shadow: 0 28px 56px rgba(10, 36, 99, 0.38);
}

.mock::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--aqua), transparent 60%);
  filter: blur(18px);
  opacity: 0.55;
}

.mock-card {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(160deg, #3796e6, #1a62b8);
  color: #ffffff;
}

.mock-card b {
  display: block;
  font-size: 24px;
}

.mock-card small {
  opacity: 0.85;
  font-size: 14px;
}

.mock-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  margin: 20px auto;
  font-size: 32px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mock-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.mock-ring circle {
  fill: none;
  stroke-width: 9;
}

.mock-ring .track {
  stroke: rgba(255, 255, 255, 0.22);
}

.mock-ring .bar {
  stroke: #ffffff;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.mock-btn {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--blue-dark));
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- YouTube call to action ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(120deg, #061a4d, #1561e6);
  color: #ffffff;
  text-align: center;
}

.cta .wrap {
  position: relative;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.cta p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #d6e6ff;
  font-size: 18px;
}

.cta .btn-row {
  justify-content: center;
}

.pulse {
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(3, 12, 40, 0.3), 0 0 0 0 rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 10px 26px rgba(3, 12, 40, 0.3), 0 0 0 14px rgba(255, 255, 255, 0); }
}

/* ---------- footer ---------- */

footer {
  padding: 30px 0;
  background: #041238;
  color: #9db7e6;
  font-size: 14.5px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.foot a {
  color: #cfe0ff;
  text-decoration: none;
}

.foot a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ---------- back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(21, 97, 230, 0.45);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), background 0.2s ease;
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--blue-dark);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .hero {
    padding: 112px 0 140px;
  }

  .hero-inner,
  .band {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-art svg {
    width: 140px;
  }

  .hero-art .glow {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
  }

  .scroll-hint {
    display: none;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  section {
    padding: 62px 0;
  }

  .js .reveal.from-left,
  .js .reveal.from-right {
    transform: translateY(30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .stagger li {
    opacity: 1;
    transform: none;
  }
}
