/* =============================================================================
 * Vitalum How It Works — exact port of staking_vam.html's #how-it-works.
 *
 * Sources:
 *   staking_vam.html inline styles   → .stk-section, .stk-section-alt
 *   vam.css :97-146                  → .vam-step-card / -badge / -icon / -arrow
 *   style-jasmine.css                → .section-head-s9, .title(-xs)(-s1), .btn(-grad)(-round)
 *   bootstrap grid subset            → .row, .col-lg-*, .col-md-*, .col-sm-*, d-none, d-md-flex
 *
 * All scoped under .vhw-scope so nothing leaks in or out.
 * ============================================================================= */

/* -------- Reset -------- */
.vhw-scope,
.vhw-scope *,
.vhw-scope *::before,
.vhw-scope *::after { box-sizing: border-box; }

.vhw-scope {
  --vhw-bg:          #0d0d0d;
  --vhw-primary:     #1ebf95;
  --vhw-heading:     #f2f7fb;
  --vhw-text:        #c7d3dd;
  --vhw-btn-from:    #3CE3B7;
  --vhw-btn-to:      #20A8C9;

  display: block;
  width: 100%;
  color: var(--vhw-text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.vhw-scope p, .vhw-scope h2, .vhw-scope h5, .vhw-scope h6 { margin: 0; }
.vhw-scope a { text-decoration: none; }

/* -------- Full dark section wrap -------- */
.vhw-scope.vhw-section-wrap {
  background: var(--vhw-bg);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
@media (max-width: 991px) {
  .vhw-scope.vhw-section-wrap { padding: 60px 0; }
}

/* -------- .container -------- */
.vhw-scope .container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-right: 15px;
  padding-left: 15px;
}
@media (max-width: 1199px) { .vhw-scope .container { max-width: 960px; } }
@media (max-width: 991px)  { .vhw-scope .container { max-width: 720px; } }
@media (max-width: 767px)  { .vhw-scope .container { max-width: 540px; } }
@media (max-width: 575px)  { .vhw-scope .container { max-width: 100%; } }

/* -------- Bootstrap grid subset -------- */
.vhw-scope .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.vhw-scope .row.align-items-center       { align-items: center; }
.vhw-scope .row.justify-content-center   { justify-content: center; }
.vhw-scope .row > [class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Cards: col-lg-3 (25%) at ≥992px, col-md-4 (33%) at ≥768px, col-sm-10 (83%) at ≥576px */
.vhw-scope .col-lg-3,
.vhw-scope .col-lg-1,
.vhw-scope .col-md-4,
.vhw-scope .col-md-auto,
.vhw-scope .col-sm-10 { flex: 0 0 auto; }
.vhw-scope .col-lg-3, .vhw-scope .col-lg-1 { width: 100%; }

@media (min-width: 576px) { .vhw-scope .col-sm-10 { width: 83.3333%; } }
@media (min-width: 768px) {
  .vhw-scope .col-md-4    { width: 33.3333%; }
  .vhw-scope .col-md-auto { width: auto; }
}
@media (min-width: 992px) {
  .vhw-scope .col-lg-3 { width: 25%; }
  .vhw-scope .col-lg-1 { width: 8.3333%; }
}

.vhw-scope .gutter-vr-30px { margin-top: -15px; margin-bottom: -15px; }
.vhw-scope .gutter-vr-30px > [class*="col-"] { padding-top: 15px; padding-bottom: 15px; }

/* .d-none / .d-md-flex — hide arrows on mobile, show as flex on tablet+ */
.vhw-scope .d-none { display: none !important; }
@media (min-width: 768px) {
  .vhw-scope .d-md-flex { display: flex !important; }
}

/* -------- Utilities -------- */
.vhw-scope .text-center { text-align: center; }
.vhw-scope .mt-5        { margin-top: 3rem !important; }
.vhw-scope .text-light  { color: #ffffff !important; }

/* -------- Section head -------- */
.vhw-scope .section-head { position: relative; padding-bottom: 40px; text-align: center; }
.vhw-scope .section-head .title { font-weight: 500; }
.vhw-scope .section-head .title:not(:last-child) { margin-bottom: .75rem; }
.vhw-scope .section-head .title-xs:not(:last-child) { margin-bottom: .5rem; }
.vhw-scope .wide-md { max-width: 945px; margin-left: auto; margin-right: auto; }

.vhw-scope .section-head h2.title {
  font-size: 1.75rem;
  color: var(--vhw-heading);
  margin: 0;
  line-height: 1.3;
}
@media (min-width: 576px) { .vhw-scope .section-head h2.title { font-size: 2.25rem; } }

.vhw-scope .title-xs {
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  display: inline-block;
  color: var(--vhw-primary);
  margin: 0;
}
.vhw-scope .title-xs.title-s1 {
  position: relative;
  padding-left: 75px;
  font-weight: 600;
}
.vhw-scope .title-s1:before {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -1px;
  height: 2px;
  width: 60px;
  content: '';
  transform: translate(0, -50%);
  background: var(--vhw-primary);
}
.vhw-scope .tc-primary { color: var(--vhw-primary) !important; }

/* -------- Step cards (vam.css :97-146) -------- */
.vhw-scope .vam-step-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 32px 24px;
  height: 100%;
  text-align: center;
}
.vhw-scope .vam-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vhw-primary);
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  margin-bottom: 20px;
}
.vhw-scope .vam-step-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 18px;
  opacity: 0.85;
}
.vhw-scope.vhw-invert .vam-step-icon { filter: brightness(0) invert(1); }

.vhw-scope .vam-step-card h5 {
  color: var(--vhw-heading);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0;
  font-weight: 600;
}

.vhw-scope .vam-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 8px;
  color: var(--vhw-primary);
}
.vhw-scope .vam-step-arrow svg { width: 22px; height: 22px; }

/* -------- Buttons (style-jasmine.css subset) -------- */
.vhw-scope .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  padding: 8px 15px;
  text-align: center;
  text-transform: uppercase;
  color: #fff !important;
  min-width: 120px;
  border: 2px solid transparent;
  transition: all 0.5s;
  border-radius: 5px;
  z-index: 2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  overflow: hidden;
}
.vhw-scope .btn:hover, .vhw-scope .btn:focus { color: #fff !important; outline: none; box-shadow: none; }
@media (min-width: 576px) {
  .vhw-scope .btn { font-size: 13px; line-height: 25px; padding: 12px 30px; letter-spacing: 0.1em; }
  .vhw-scope .btn-rg { font-size: 13px; padding: 12px 30px; }
}
.vhw-scope .btn-round { border-radius: 40px; }
.vhw-scope .btn-grad  {
  border: none;
  background-image: linear-gradient(to right, var(--vhw-btn-from) 0%, var(--vhw-btn-to) 100%);
}
.vhw-scope .btn-grad::before {
  position: absolute;
  left: 0; top: 0;
  content: "";
  width: 100%; height: 100%;
  border-radius: 40px;
  opacity: 0;
  transition: opacity .5s;
  background-image: linear-gradient(to right, var(--vhw-btn-to) 0%, var(--vhw-btn-from) 100%);
  z-index: -1;
}
.vhw-scope .btn-grad:hover::before, .vhw-scope .btn-grad:focus::before { opacity: 1; }

/* Ghost secondary button — matches inline style on staking_vam.html:351 */
.vhw-scope .vhw-btn-ghost {
  color: #f2f7fb !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}
.vhw-scope .vhw-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.vhw-scope .vhw-cta-row .btn { margin: 6px 4px; }
