/* ---------------- Why start with URLHOST — tabbed feature explorer ---------------- */
.wr { background: linear-gradient(180deg, var(--white) 0%, var(--brand-tint) 100%); }
.wr__wrap { display: grid; grid-template-columns: 360px 1fr; gap: 2rem; align-items: start; }

/* tabs */
.wr__tabs { display: grid; gap: .6rem; }
.wr-tab {
  position: relative; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: .9rem;
  width: 100%; text-align: left; padding: 1rem 1.1rem; border-radius: 16px; cursor: pointer; overflow: hidden;
  background: transparent; border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
}
.wr-tab:hover { background: #fff; border-color: var(--line); }
.wr-tab.is-active { background: #fff; border-color: var(--brand-border); box-shadow: var(--shadow-md); }
.wr-tab__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; transition: .25s; }
.wr-tab.is-active .wr-tab__ico { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -6px rgba(23,111,70,.55); }
.wr-tab__txt b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.wr-tab__txt small { display: block; font-size: .8rem; line-height: 1.4; color: var(--muted); margin-top: .15rem; }
.wr-tab__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), #3cbf85); transform: scaleX(0); transform-origin: left; }
.wr-tab.is-active .wr-tab__prog { animation: wrProg var(--wr-dur, 6s) linear forwards; }
.wr__wrap.is-paused .wr-tab.is-active .wr-tab__prog { animation: none; transform: scaleX(1); opacity: .35; }
@keyframes wrProg { to { transform: scaleX(1); } }

/* stage */
.wr__stage {
  position: relative; border-radius: 28px; padding: 2rem; min-height: 460px;
  background: radial-gradient(120% 100% at 100% 0%, #13573a 0%, var(--dark-bg) 55%, #07140e 100%);
  box-shadow: 0 40px 80px -30px rgba(14,42,28,.55); overflow: hidden;
}
.wr__stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%);
}
.wr-panel { position: relative; display: grid; grid-template-rows: auto auto; gap: 1.6rem; }
.wr-panel[hidden] { display: none; }
.wr-panel.is-active .wr-mock { animation: wrIn .45s cubic-bezier(.22,.61,.36,1); }
.wr-panel.is-active .wr-copy { animation: wrIn .45s .08s cubic-bezier(.22,.61,.36,1) both; }
@keyframes wrIn { from { opacity: 0; transform: translateY(14px); } }

.wr-mock { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); }
.wr-mock__bar { display: flex; align-items: center; gap: .9rem; padding: .65rem 1rem; background: #f4f7f5; border-bottom: 1px solid var(--line); }
.wr-dots { display: inline-flex; gap: .3rem; }
.wr-dots i { width: 9px; height: 9px; border-radius: 50%; background: #dfe6e2; }
.wr-dots i:first-child { background: #f28b82; } .wr-dots i:nth-child(2) { background: #f6c96b; } .wr-dots i:nth-child(3) { background: #6fd39c; }
.wr-mock__title { font-family: var(--font-mono); font-size: .76rem; font-weight: 700; color: var(--ink); }
.wr-mock__title i { color: var(--brand); margin-right: .2rem; }
.wr-mock__body { padding: 1.2rem; position: relative; }

.wr-copy h3 { color: #fff; font-size: 1.45rem; font-weight: 700; margin-bottom: .45rem; }
.wr-copy p { color: #b8d6c8; font-size: 1rem; line-height: 1.65; margin: 0; max-width: 40rem; }

/* 1 WHM tiles */
.whm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.whm-tile { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; border-radius: 12px; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); }
.whm-tile i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--brand-soft); color: var(--brand); flex: 0 0 auto; }
.whm-tile--hl { border-color: var(--brand); background: var(--brand-tint); }
.whm-tile--hl i { background: var(--brand); color: #fff; }
.wr-toast { margin-top: .9rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--brand-dark); background: #e3f6ec; padding: .45rem .8rem; border-radius: 10px; }
.wr-toast i { color: #1c8f5a; }

/* 2 packages */
.pkg { display: grid; gap: .75rem; }
.pkg__row { display: grid; grid-template-columns: 7.5rem 1fr 4rem; align-items: center; gap: .8rem; font-size: .85rem; color: var(--body); }
.pkg__row b { text-align: right; font-family: var(--font-mono); color: var(--ink); }
.pkg__bar { height: 8px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; }
.pkg__bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--brand), #3cbf85); }
.wr-panel.is-active .pkg__bar i { animation: grow .8s ease both; }
@keyframes grow { from { width: 0; } }
.pkg__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.pkg__chips span { font-size: .76rem; font-weight: 700; padding: .3rem .7rem; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.pkg__chips .is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pkg__chips .pkg__add { border-style: dashed; color: var(--brand); border-color: var(--brand-border); }

/* 3 cPanel */
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.cp { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .9rem .4rem; border-radius: 12px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink); }
.cp__i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: 1.05rem; }
.cp__i--1 { background: #176F46; } .cp__i--2 { background: #e0951f; } .cp__i--3 { background: #4a6fd1; }
.cp__i--4 { background: #2f9e75; } .cp__i--5 { background: #8a3fd1; } .cp__i--6 { background: #21759b; }

/* 4 manage */
.mgr { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.mgr li { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: .7rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 12px; }
.mgr__av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--brand-soft); color: var(--brand); }
.mgr__av--b { background: #fdf3e2; color: #c97d0f; } .mgr__av--c { background: #f1f3f2; color: #8a9690; }
.mgr__n b { display: block; font-size: .86rem; color: var(--ink); line-height: 1.2; }
.mgr__n small { font-size: .72rem; color: var(--muted); }
.mgr__s { font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: 99px; }
.mgr__s--ok { color: #1c8f5a; background: #e3f6ec; }
.mgr__s--off { color: #b3541e; background: #fdeee4; }
.mgr__btn { font-size: .74rem; font-weight: 700; color: var(--brand); border: 1px solid var(--brand-border); padding: .3rem .6rem; border-radius: 8px; white-space: nowrap; }

/* 5 servers */
.srv { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.srv__cell { padding: .85rem .8rem; border-radius: 12px; background: var(--brand-tint); border: 1px solid var(--brand-border); }
.srv__cell span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: .15rem; }
.srv__cell b { font-family: var(--font-display); color: var(--brand-dark); font-size: 1.1rem; }
.srv__line { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .84rem; font-weight: 600; color: var(--ink); flex-wrap: wrap; }
.srv__dot { width: 9px; height: 9px; border-radius: 50%; background: #25b574; animation: pulse 2s infinite; }
.srv__sup { margin-left: auto; font-size: .78rem; color: var(--brand); }

/* responsive */
@media (max-width: 1199.98px) { .wr__wrap { grid-template-columns: 310px 1fr; } }
@media (max-width: 991.98px) {
  .wr__wrap { grid-template-columns: 1fr; gap: 1.2rem; }
  .wr__tabs { display: flex; overflow-x: auto; gap: .5rem; padding-bottom: .3rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wr__tabs::-webkit-scrollbar { display: none; }
  .wr-tab { flex: 0 0 auto; width: auto; grid-template-columns: auto; padding: .55rem .9rem .6rem; border-radius: 99px; background: #fff; border-color: var(--line); scroll-snap-align: start; }
  .wr-tab__ico { display: none; }
  .wr-tab__txt small { display: none; }
  .wr-tab__txt b { font-size: .88rem; white-space: nowrap; }
  .wr-tab.is-active { background: var(--brand); border-color: var(--brand); }
  .wr-tab.is-active .wr-tab__txt b { color: #fff; }
  .wr-tab__prog { display: none; }
  .wr__stage { min-height: 0; }
}
@media (max-width: 575.98px) {
  .wr__stage { padding: 1.1rem; border-radius: 22px; }
  .wr-mock__body { padding: .9rem; }
  .whm-grid, .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .srv { grid-template-columns: repeat(2, 1fr); }
  .pkg__row { grid-template-columns: 6.2rem 1fr 3.4rem; font-size: .8rem; }
  .mgr li { grid-template-columns: 32px 1fr auto; }
  .mgr__btn { grid-column: 2 / -1; justify-self: start; }
  .wr-copy h3 { font-size: 1.25rem; }
  .wr-copy p { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wr-panel.is-active .wr-mock, .wr-panel.is-active .wr-copy, .wr-panel.is-active .pkg__bar i { animation: none; }
}
