/* Website design redesign layer
   New hero + imported section system layered on top of the existing page. */

.rw-parallax-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.22) 0%, rgba(5,6,8,0.58) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%),
    #050608;
}

.rw-parallax-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/website-design/hero-background.webp") center center / cover no-repeat;
  filter: brightness(0.48) contrast(0.98) saturate(0.76);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.rw-parallax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.10) 0%, rgba(5,6,8,0.40) 36%, rgba(5,6,8,0.74) 100%),
    radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.02), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

.rw-parallax-hero .rw-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 96px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
}

.rw-parallax-hero .rw-hero-copy {
  max-width: 560px;
}

.rw-mobile-hero-kicker,
.rw-mobile-hero-sub,
.rw-mobile-cta-label {
  display: none;
}

.rw-mobile-break {
  display: none;
}

.rw-parallax-hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(2.45rem, 4.6vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.rw-parallax-hero h1 .accent-serif {
  color: var(--gold);
  font-family: var(--font-hero);
  font-style: normal;
  font-weight: 600;
}

.rw-parallax-hero .rw-hero-copy > p {
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.rw-parallax-stage {
  position: relative;
  width: min(100%, 620px);
  height: calc(680px * var(--rw-stage-scale, 1));
  margin: 0 auto;
  isolation: isolate;
  --rw-stage-scale: 1;
}

.rw-parallax-stage::after {
  content: "";
  position: absolute;
  inset: 10% 6% 6% 6%;
  border-radius: 32px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 62%);
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
}

.rw-parallax-stage-inner {
  position: absolute;
  top: 0;
  left: 50%;
  width: 620px;
  height: 680px;
  margin: 0;
  transform: translateX(-50%) scale(var(--rw-stage-scale, 1));
  transform-origin: top center;
}

.rw-parallax-credit {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7,8,10,0.84);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.rw-parallax-credit .rw-credit-label {
  color: var(--text-soft);
  font-weight: 600;
}

.rw-parallax-credit .rw-credit-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.18);
}

.rw-parallax-credit .rw-credit-name {
  color: var(--gold);
}

.rw-parallax-layer {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

.rw-parallax-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.rw-parallax-laptop {
  width: 547px;
  aspect-ratio: 2940 / 1664;
  left: 34px;
  top: 96px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 32px 64px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.08);
}

.rw-parallax-phone {
  width: 186px;
  aspect-ratio: 678 / 1466;
  left: 394px;
  top: 252px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 28px 50px rgba(0,0,0,0.58),
    0 0 0 1px rgba(255,255,255,0.08);
}

.rw-parallax-card {
  min-width: 0;
  width: 224px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(7,8,10,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 38px rgba(0,0,0,0.42);
  backdrop-filter: blur(16px);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

 .rw-parallax-card .rw-parallax-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(69,176,140,0.12);
  color: var(--teal);
  flex: 0 0 32px;
}

.rw-parallax-card .rw-parallax-card-icon svg {
  width: 16px;
  height: 16px;
}

.rw-parallax-card .rw-parallax-card-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
}

.rw-parallax-card.--top {
  left: 136px;
  top: 388px;
}

.rw-parallax-card.--bottom {
  left: 136px;
  top: 470px;
}

.rw-parallax-hero .rw-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wd-system-grid,
.wd-packages-grid,
.wd-addons-grid {
  display: grid;
  gap: 16px;
}

.wd-system-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
}

.wd-system-card,
.wd-package-card,
.wd-addon-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.wd-system-card:hover,
.wd-package-card:hover,
.wd-addon-card:hover {
  border-color: rgba(226,168,77,0.22);
}

.wd-system-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.wd-system-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(226,168,77,0.08);
  border: 1px solid rgba(226,168,77,0.2);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wd-system-card h3,
.wd-addon-card h3,
.wd-package-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.wd-system-card p,
.wd-addon-card p,
.wd-package-tag {
  color: var(--text-dim);
  line-height: 1.55;
  font-size: 0.9rem;
}

.wd-system-diagram {
  margin-top: 22px;
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wd-system-diagram.--device {
  position: relative;
}

.wd-system-diagram.--device::before,
.wd-system-diagram.--device::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  background: rgba(226,168,77,0.16);
}

.wd-system-diagram.--device::before {
  width: 80px;
  height: 110px;
  left: 22px;
  top: 20px;
  box-shadow:
    110px 20px 0 0 rgba(255,255,255,0.02),
    196px 54px 0 0 rgba(69,176,140,0.08);
  transform: rotate(-8deg);
}

.wd-system-diagram.--search {
  display: block;
  padding: 18px 16px;
}

.wd-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.wd-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(226,168,77,0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wd-funnel {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}

.wd-funnel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.wd-funnel-row span:last-child {
  color: var(--gold);
}

.wd-system-strip {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.wd-packages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.wd-package-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wd-package-card.--featured {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(226,168,77,0.08), rgba(255,255,255,0.03));
  border-color: rgba(226,168,77,0.18);
}

.wd-package-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(226,168,77,0.12);
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wd-package-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.wd-package-price .wd-price {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.wd-package-price .wd-price-note {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wd-package-features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.wd-package-features li {
  position: relative;
  padding-left: 18px;
  color: rgba(246,240,230,0.92);
  line-height: 1.45;
  font-size: 0.86rem;
}

.wd-package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.wd-package-cta {
  margin-top: auto;
  padding-top: 2px;
}

.wd-addon-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.wd-addon-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.wd-addon-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(69,176,140,0.1);
  color: var(--teal);
  border: 1px solid rgba(69,176,140,0.22);
  flex-shrink: 0;
}

.wd-addon-price {
  text-align: right;
}

.wd-addon-price .wd-addon-num {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wd-addon-price .wd-addon-denom {
  display: block;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wd-addon-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.wd-addon-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(246,240,230,0.92);
  line-height: 1.45;
  font-size: 0.86rem;
}

.wd-addon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.wd-pricing-inline-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.wd-pricing-inline-head .lib-section-label {
  margin-bottom: 0;
}

.wd-pricing-inline-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.wd-pricing-footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

@media (max-width: 1100px) {
  .rw-parallax-hero .rw-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 120px 0 72px;
  }

  .rw-parallax-hero .rw-hero-copy {
    order: 1;
    max-width: 620px;
    padding-bottom: 0;
  }

  .rw-parallax-stage {
    order: 2;
    --rw-stage-scale: 0.86;
  }

  .wd-system-grid,
  .wd-packages-grid,
  .wd-addon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .rw-parallax-hero {
    min-height: auto;
    margin-top: -74px;
    padding-top: 74px;
  }

  .rw-parallax-hero + .card-overlay {
    margin-top: -28px;
    padding-top: 104px;
  }

  .rw-parallax-hero::after {
    background-position: center 20%;
    filter: brightness(0.42) contrast(0.92) saturate(0.85);
  }

  .rw-parallax-hero::before {
    inset: -72px 0 0 0;
    background:
      linear-gradient(180deg, rgba(5,6,8,0.06) 0%, rgba(5,6,8,0.26) 78px, rgba(5,6,8,0.58) 190px, rgba(5,6,8,0.94) 100%),
      radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 32%),
      radial-gradient(circle at bottom left, rgba(255,255,255,0.025), transparent 30%);
  }

  .rw-parallax-hero .rw-hero-inner {
    width: min(100% - 32px, 1200px);
    padding: 60px 0 44px;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .rw-parallax-hero .rw-hero-copy {
    order: 1;
    padding-bottom: 0;
    max-width: none;
    width: 100%;
  }

  .rw-desktop-hero-sub {
    display: none;
  }

  .rw-parallax-hero .rw-mobile-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .rw-parallax-hero .rw-mobile-hero-kicker::before {
    content: none;
  }

  .rw-parallax-hero .rw-hero-title {
    display: block;
    max-width: 100%;
    margin: 0 0 12px;
    font-family: var(--font-hero);
    font-size: 2.32rem;
    line-height: 0.98;
    letter-spacing: 0;
  }

  .rw-parallax-hero .rw-hero-title .accent-serif {
    display: block;
  }

  .rw-mobile-break {
    display: block;
  }

  .rw-parallax-hero .rw-mobile-hero-sub {
    display: block;
    max-width: 34ch;
    margin: 0 0 18px;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.5;
  }

  .rw-parallax-hero .rw-hero-cta {
    gap: 0;
  }

  .rw-parallax-hero .rw-hero-cta .flex-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px !important;
  }

  .rw-parallax-hero .rw-hero-cta .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.88rem;
  }

  .rw-parallax-hero .rw-hero-cta .btn-ghost {
    min-height: 38px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: rgba(255,248,235,0.66);
  }

  .rw-desktop-cta-label {
    display: none;
  }

  .rw-mobile-cta-label {
    display: inline;
  }

  .rw-parallax-stage {
    order: 2;
    width: 100%;
    height: 288px;
    margin-top: 12px;
    --rw-stage-scale: 0.5;
  }

  .rw-parallax-stage::after {
    inset: 4% 4% 0 4%;
    filter: blur(14px);
    opacity: 0.56;
  }

  .rw-parallax-stage [data-depth] {
    transform: none !important;
  }

  .rw-parallax-credit {
    display: none;
  }

  .wd-system-grid,
  .wd-packages-grid,
  .wd-addon-grid {
    grid-template-columns: 1fr;
  }

  .wd-packages-grid {
    gap: 12px;
  }

  .wd-package-card {
    order: 2;
  }

  .wd-package-card.--featured {
    order: 1;
  }

  .wd-package-card.--featured {
    transform: none;
  }

  #pricing .lib-section-title {
    font-size: clamp(1.5rem, 6.8vw, 2.05rem);
    line-height: 1.05;
    margin-bottom: 8px;
  }

  #pricing .lib-section-sub {
    font-size: 0.86rem;
    line-height: 1.42;
    max-width: 38ch;
    margin-bottom: 0;
  }

  .wd-packages-grid,
  .wd-addon-grid {
    gap: 12px;
  }

  .wd-package-card,
  .wd-addon-card {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .wd-package-card h3,
  .wd-addon-card h3 {
    font-size: 0.94rem;
    margin-bottom: 6px;
  }

  .wd-package-tag,
  .wd-addon-card p {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .wd-package-price .wd-price {
    font-size: 1.42rem;
  }

  .wd-package-price .wd-price-note {
    font-size: 0.54rem;
  }

  .wd-package-features,
  .wd-addon-list {
    gap: 5px;
    margin-top: 7px;
  }

  .wd-package-features li,
  .wd-addon-list li {
    font-size: 0.77rem;
    line-height: 1.32;
    padding-left: 15px;
  }

  .wd-package-features li::before,
  .wd-addon-list li::before {
    top: 6px;
    width: 5px;
    height: 5px;
  }

  .wd-addon-icon {
    width: 32px;
    height: 32px;
  }

  .wd-pricing-inline-head {
    margin-top: 16px;
    gap: 8px;
  }

  .wd-pricing-inline-head p {
    display: none;
  }

  .wd-pricing-footer {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .rw-parallax-hero + .card-overlay {
    margin-top: -18px;
    padding-top: 96px;
  }

  .rw-parallax-hero .rw-hero-inner {
    width: min(100% - 32px, 1200px);
    padding: 54px 0 38px;
    gap: 8px;
    display: flex;
    flex-direction: column;
  }

  .rw-parallax-hero .rw-hero-copy {
    order: 1;
    padding-bottom: 0;
  }

  .rw-parallax-hero .rw-hero-title {
    font-size: 2.18rem;
    max-width: 100%;
  }

  .rw-parallax-hero .rw-mobile-hero-sub {
    font-size: 0.94rem;
    line-height: 1.48;
    margin-bottom: 16px;
  }

  .rw-parallax-stage {
    order: 2;
    height: 258px;
    --rw-stage-scale: 0.42;
  }

  .wd-package-card,
  .wd-addon-card {
    padding: 14px 12px;
  }

  .wd-package-badge {
    top: 12px;
    right: 12px;
  }

  .wd-package-price {
    gap: 8px;
  }

  .wd-package-price .wd-price {
    font-size: 1.34rem;
  }

  .wd-package-price .wd-price-note,
  .wd-addon-price .wd-addon-denom {
    font-size: 0.52rem;
  }

  .wd-package-features li,
  .wd-addon-list li {
    font-size: 0.74rem;
  }

  .wd-pricing-inline-head p {
    display: none;
  }

  .wd-pricing-footer {
    margin-top: 16px;
  }
}

@media (max-width: 340px) {
  .rw-parallax-hero .rw-hero-inner {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  .rw-parallax-hero .rw-hero-title {
    font-size: 2rem;
  }

  .rw-parallax-hero .rw-mobile-hero-sub {
    font-size: 0.9rem;
  }

  .rw-parallax-stage {
    height: 236px;
    --rw-stage-scale: 0.38;
  }
}
