/* Buttons */
.btn {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 820;
  font-size: 17px;
  letter-spacing: -.01em;
  color: white;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, #ff9f43, var(--orange));
  box-shadow: 0 18px 42px rgba(255,106,0,.22), inset 0 1px 0 rgba(255,255,255,.34);
}

.btn-soft {
  color: white;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.btn-dark {
  color: white;
  background: #080d1a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.18);
}

.btn-light {
  width: 100%;
  min-height: 64px;
  color: #0d1016;
  background: white;
  text-transform: uppercase;
  letter-spacing: .12em;
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { box-shadow: 0 24px 54px rgba(255,106,0,.28), inset 0 1px 0 rgba(255,255,255,.34); }
  .btn-soft:hover,
  .btn-dark:hover { background: rgba(255,255,255,.09); }
}

/* Demo modules */
.module-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    radial-gradient(circle at 16% 0%, rgba(255,106,0,.08), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(82,104,220,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.024));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  padding: clamp(28px, 4vw, 44px);
  transform-origin: center;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%);
  pointer-events: none;
}

.video-module { transform: perspective(1400px) rotateX(1deg) rotateZ(-.7deg); }
.google-module { transform: perspective(1400px) rotateX(1deg) rotateZ(.65deg); }
.activity-module { transform: perspective(1400px) rotateX(1deg) rotateZ(-.55deg); }
.gallery-module { transform: perspective(1400px) rotateX(1deg) rotateZ(.55deg); }

.module-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.module-head p {
  margin: 0;
  color: rgba(255,255,255,.90);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.module-head span {
  color: rgba(255,255,255,.60);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.46;
  letter-spacing: -.01em;
  max-width: 34ch;
}

.rail {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding-bottom: 8px;
}

.rail::-webkit-scrollbar { display: none; }

.rail-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: scroll-position;
}

.module-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.module-actions.stacked {
  align-items: flex-start;
  flex-direction: column;
}

/* Cards inside rails */
.video-tile,
.activity-tile,
.gallery-tile {
  flex: 0 0 174px;
  display: grid;
  gap: 14px;
  text-align: center;
}

.activity-tile,
.gallery-tile {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.poster,
.activity-img,
.gallery-img {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -70px 90px rgba(0,0,0,.16), 0 18px 42px rgba(0,0,0,.14);
}

.poster,
.activity-img {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
}

.gallery-img {
  aspect-ratio: 1 / 1;
  border-radius: 26px;
}

.video-tile p,
.activity-tile p,
.gallery-tile p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.34;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.09));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow:
    0 18px 40px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.play-overlay::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-36%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
}

.review-card {
  flex: 0 0 360px;
  min-height: 180px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 36px rgba(0,0,0,.12);
}

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

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  font-weight: 850;
}

.review-name {
  font-weight: 850;
  color: white;
}

.review-source {
  color: rgba(255,255,255,.48);
}

.google-pill {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255,255,255,.78);
  font-weight: 760;
  background: rgba(255,255,255,.06);
}

.stars { color: #ffb020; letter-spacing: .08em; }

.review-card p {
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: 17px;
  line-height: 1.45;
}

/* Product and pricing */
.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.product-card,
.price-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 36px;
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 16% 0%, rgba(255,106,0,.11), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(90,107,255,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.068), rgba(255,255,255,.024));
  box-shadow: 0 34px 100px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08);
}

.product-badge,
.price-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  letter-spacing: .16em;
  font-weight: 850;
  text-transform: uppercase;
}

.product-badge.warm,
.price-badge.warm {
  background: rgba(255,106,0,.13);
  border-color: rgba(255,106,0,.24);
}

.product-card h3,
.price-card h3 {
  margin: 24px 0 16px;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
  max-width: 11ch;
  text-wrap: balance;
}

.product-card p:not(.product-badge),
.price-card p:not(.price-badge) {
  color: rgba(255,255,255,.68);
  font-size: 19px;
  line-height: 1.66;
}

.product-card .btn {
  margin-top: auto;
  width: 100%;
}

.price {
  margin-top: 8px;
  color: white;
  font-size: clamp(70px, 7vw, 96px);
  line-height: .86;
  font-weight: 900;
  letter-spacing: -.08em;
}

.price span {
  font-size: .34em;
  color: rgba(255,255,255,.62);
  letter-spacing: -.03em;
}

.annual {
  color: rgba(255,255,255,.58);
}

.price-card ul {
  flex: 1;
  display: grid;
  gap: 15px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 34px;
  color: rgba(255,255,255,.80);
  font-size: 18px;
  line-height: 1.54;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05em;
  color: #78e49f;
  font-weight: 900;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  background: rgba(5,8,16,.50);
  backdrop-filter: blur(10px);
}

.mobile-menu.open { display: flex; }

.mobile-menu-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: 30px;
  padding: 74px 20px 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,22,.92);
}

.mobile-menu-card a {
  display: block;
  padding: 18px;
  border-radius: 18px;
  text-decoration: none;
  color: white;
  font-size: 22px;
  font-weight: 850;
}

.mobile-menu-card a:hover {
  background: rgba(255,255,255,.07);
}

@media (max-width: 860px) {
  .product-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .price-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .video-module,
  .google-module,
  .activity-module,
  .gallery-module {
    transform: none;
  }
}

@media (max-width: 520px) {
  .module-card {
    padding: 24px 22px;
    border-radius: 30px;
  }

  .video-tile,
  .activity-tile {
    flex-basis: 164px;
  }

  .gallery-tile {
    flex-basis: 168px;
  }

  .review-card {
    flex-basis: 318px;
  }

  .product-grid,
  .pricing-grid {
    margin-inline: -18px;
  }

  .product-card,
  .price-card {
    border-radius: 32px;
    padding: 30px;
  }

  .product-card h3,
  .price-card h3 {
    font-size: clamp(46px, 13vw, 64px);
  }
}
