/* =========================================================
   WILLIAM — Home page (public redesign)
   ========================================================= */
.w-skip {
  position: absolute; left: 12px; top: -60px; z-index: 10000;
  padding: 10px 16px; border-radius: var(--w-radius-sm);
  background: var(--w-primary); color: var(--w-heading); font-weight: 600;
}
.w-skip:focus { top: 12px; color: var(--w-heading); }

.w-gradient-text {
  background: linear-gradient(90deg, var(--w-primary-light), #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.w-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--w-primary-light);
  background: rgba(99, 102, 241, .12); border: 1px solid rgba(99, 102, 241, .3);
}
.w-pill i { color: #22d3ee; }

/* ---- Hero ---- */
.w-hero2 {
  position: relative;
  /* First screen shows only the hero: the next section starts below the fold. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 0 40px;
  overflow: hidden;
}
.w-hero2 > .container { width: 100%; }
.w-hero2::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(99, 102, 241, .16), transparent 45%),
    linear-gradient(rgba(var(--w-ov), .025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(var(--w-ov), .025) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  pointer-events: none;
}
.w-hero2-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.w-hero2-title {
  margin: 20px 0 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--w-heading);
}
.w-hero2-sub { max-width: 540px; margin: 0 0 30px; font-size: 1.08rem; line-height: 1.7; color: var(--w-text-muted); }
.w-hero2-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.w-hero2-ctas .w-btn i { margin: 0 2px; }
.w-hero2-assurances {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 28px 0 0; padding: 0; list-style: none;
  font-size: 14px; color: var(--w-text-muted);
}
.w-hero2-assurances i { color: var(--w-ok-text); margin-right: 6px; }
.w-hero2-visual { position: relative; min-height: 460px; }

/* ---- Trust strip ---- */
.w-trust {
  border-top: 1px solid var(--w-border);
  border-bottom: 1px solid var(--w-border);
  background: rgba(var(--w-ov), .015);
}
.w-trust-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 0;
  margin: 0; padding: 22px 0; list-style: none;
}
.w-trust-list li {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 8px 32px;
  border-right: 1px solid var(--w-border);
}
.w-trust-list li:last-child { border-right: 0; }
.w-trust-list i {
  grid-row: span 2;
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--w-primary-light); background: rgba(99, 102, 241, .12);
}
.w-trust-list strong { font-size: 22px; font-weight: 800; color: var(--w-heading); line-height: 1.1; }
.w-trust-list span { font-size: 13px; color: var(--w-text-muted); }

/* ---- Sections ---- */
.w-section-alt { background: rgba(var(--w-ov), .015); border-top: 1px solid var(--w-border); border-bottom: 1px solid var(--w-border); }
.w-section-tight { padding: 64px 0; }

/* ---- Networks ---- */
.w-net-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.w-net-grid > .w-net-card { flex: 0 1 260px; }
.w-net-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px;
  border-radius: var(--w-radius);
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  color: var(--w-text);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.w-net-card:hover, .w-net-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, .45);
  box-shadow: var(--w-shadow-glow);
  color: var(--w-text);
}
.w-net-icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: #fff;
  background: linear-gradient(135deg, var(--w-primary), var(--w-accent));
}
.w-net-name { font-size: 17px; font-weight: 700; color: var(--w-heading); }
.w-net-price { font-size: 14px; color: var(--w-text-muted); }
.w-net-price strong { color: var(--w-ok-text); }
.w-net-arrow { position: absolute; right: 20px; top: 26px; color: var(--w-text-faint); transition: transform .25s ease, color .25s ease; }
.w-net-card:hover .w-net-arrow { transform: translateX(4px); color: var(--w-primary-light); }

/* ---- Why ---- */
.w-why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.w-why-grid > .w-why-card { flex: 1 1 200px; max-width: 280px; }
.w-why-card {
  padding: 26px;
  border-radius: var(--w-radius);
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
}
.w-why-card h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 700; color: var(--w-heading); }
.w-why-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--w-text-muted); }
.w-why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--w-primary-light); background: rgba(99, 102, 241, .14);
}
.w-why-icon.is-success { color: var(--w-ok-text); background: rgba(16, 185, 129, .14); }
.w-why-icon.is-accent { color: #22d3ee; background: rgba(6, 182, 212, .14); }

/* ---- How it works ---- */
.w-how {
  counter-reset: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.w-how li {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: var(--w-radius);
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
}
.w-how-num {
  position: absolute; top: 18px; right: 20px;
  font-size: 40px; font-weight: 800; line-height: 1;
  color: rgba(var(--w-ov), .05);
}
.w-how li > i { font-size: 22px; color: var(--w-primary-light); }
.w-how h3 { margin: 14px 0 8px; font-size: 16px; font-weight: 700; color: var(--w-heading); }
.w-how p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--w-text-muted); }

/* ---- Payments ---- */
.w-pay-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.w-pay-list li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--w-bg-card); border: 1px solid var(--w-border);
  font-weight: 600; color: var(--w-text);
}
.w-pay-list i { font-size: 18px; color: var(--w-primary-light); }

/* ---- CTA ---- */
.w-cta {
  position: relative; overflow: hidden;
  padding: 56px 32px;
  border-radius: var(--w-radius-xl);
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(99, 102, 241, .35), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(6, 182, 212, .25), transparent 55%),
    var(--w-bg-card);
  border: 1px solid rgba(99, 102, 241, .3);
}
.w-cta h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--w-heading); }
.w-cta p { margin: 0 auto 26px; max-width: 520px; color: var(--w-text-muted); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .w-hero2 { padding: 100px 0 40px; display: block; min-height: 0; }
  .w-hero2-grid { grid-template-columns: 1fr; gap: 10px; }
  .w-hero2-copy { text-align: center; }
  .w-hero2-sub { margin-left: auto; margin-right: auto; }
  .w-hero2-ctas, .w-hero2-assurances { justify-content: center; }
  .w-hero2-visual { min-height: 460px; margin-top: 56px; }
  .w-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-trust-list li { padding: 8px 20px; }
}
@media (max-width: 575px) {
  .w-hero2-visual { min-height: 450px; margin-top: 24px; }
  .w-hero2-ctas .w-btn { width: 100%; justify-content: center; }
  .w-how { grid-template-columns: 1fr; }
  .w-net-grid > .w-net-card, .w-why-grid > .w-why-card { flex-basis: 100%; max-width: none; }
  .w-trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px 8px; }
  .w-trust-list li { border-right: 0; padding: 0; }
  .w-cta { padding: 40px 20px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  [data-w-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .w-net-card, .w-net-arrow { transition: none; }
}
