﻿/* ==========================================
   Help Page Styles
   ========================================== */

/* --- Hero --- */
.hero__wrapper--help {
  padding: 24rem 0 18rem 0;
}
.hero__wrapper--help .hero__info {
  width: 55%;
}
.hero__wrapper--help .h1-heading {
  font-size: 4rem;
  line-height: 5.5rem;
  margin-bottom: 2rem;
}
.hero__wrapper--help .paragraph {
  font-weight: 400 !important;
  opacity: 0.85;
}

/* --- Section Layout --- */
.help-section {
  padding: 12rem 0;
}
.help-section--alt {
  background-color: #f0f9fb;
}
.help-section .h2-heading {
  text-align: center;
  margin-bottom: 5rem;
}

/* --- Card --- */
.help-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 24px rgba(34, 52, 97, 0.08);
  padding: 4rem;
  margin-bottom: 3rem;
  transition: box-shadow 0.25s ease;
}
.help-card:hover {
  box-shadow: 0 4px 32px rgba(34, 52, 97, 0.14);
}
.help-card__icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #345cf8 0%, #1985d4 100%);
  border-radius: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.help-card__icon i {
  font-size: 2.6rem;
  color: #fff;
}
.help-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: #223461;
  margin-bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.help-card__body {
  color: #60748e;
  font-size: 1.5rem;
  line-height: 2.2;
}
.help-card__desc {
  font-size: 1.6rem;
  color: #223461;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

/* --- Language Tags --- */
.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.lang-tags span {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #f0f6fb;
  color: #345cf8;
  border-radius: 2.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: default;
}
.lang-tags span:hover {
  background: #345cf8;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Help Grid (3-column) --- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}
.help-grid .help-card {
  margin-bottom: 0;
}

/* ========== Unified Command List ========== */
.help-cmd-unified {
  margin: 0 auto;
}
.help-cmd-list {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 20px rgba(34,52,97,0.06);
  padding: 3.6rem 4rem;
}
.help-cmd-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 0;
  font-size: 1.55rem;
  color: #223461;
  line-height: 2.2;
  border-bottom: 1px solid #f3f6f9;
}
.help-cmd-row:last-of-type {
  border-bottom: none;
}
.help-cmd-row--sub {
  padding: 0.7rem 0 0.7rem 2.4rem;
  font-size: 1.4rem;
  color: #60748e;
  border-bottom: 1px dashed #eef1f5;
}
.help-cmd-row--sub:last-of-type {
  border-bottom: none;
}
.help-cmd-dot {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  background: #345cf8;
  border-radius: 50%;
  margin-top: 0.7rem;
  flex-shrink: 0;
}
.help-cmd-dash {
  display: inline-block;
  width: 1.2rem;
  height: 2px;
  background: #c5d3e0;
  margin-top: 1.1rem;
  flex-shrink: 0;
}

/* --- Help List --- */
.help-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.help-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  color: #60748e;
  line-height: 2;
}
.help-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  background: #345cf8;
  border-radius: 50%;
}
.help-list--ordered {
  counter-reset: step;
}
.help-list--ordered li {
  padding-left: 2.6rem;
}
.help-list--ordered li::before {
  content: counter(step);
  counter-increment: step;
  width: 1.8rem;
  height: 1.8rem;
  top: 0.8rem;
  background: #345cf8;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.help-list__label {
  font-weight: 700;
  color: #223461 !important;
  margin-top: 0.8rem;
}
.help-list__label::before {
  display: none !important;
}
.help-list__example {
  background: #fef9e7;
  border-left: 3px solid #f0c040;
  padding: 0.8rem 1.4rem;
  border-radius: 0 0.6rem 0.6rem 0;
  color: #8a6d14;
  font-weight: 600;
  margin-top: 0.6rem;
}
.help-list__example::before {
  display: none !important;
}

/* --- FAQ Drift Grid --- */
.help-drift-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  max-width: 900px;
  margin: 0 auto;
}
.help-drift-pill {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background: #fff;
  color: #345cf8;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 3rem;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(34,52,97,0.08);
  border: 1px solid rgba(52,92,248,0.12);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.help-drift-pill::after {
  content: ' →';
  opacity: 0;
  transition: all 0.3s ease;
  margin-left: 0.2rem;
}
.help-drift-pill:hover {
  background: linear-gradient(135deg, #345cf8, #1985d4);
  color: #fff;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 28px rgba(52,92,248,0.3);
  border-color: transparent;
  animation-play-state: paused;
}
.help-drift-pill:hover::after {
  opacity: 1;
  margin-left: 0.6rem;
}

/* Staggered float animations */
.help-drift-pill.p1  { animation-name: helpFloat1; animation-delay: 0s; }
.help-drift-pill.p2  { animation-name: helpFloat2; animation-delay: 0.3s; }
.help-drift-pill.p3  { animation-name: helpFloat1; animation-delay: 0.6s; }
.help-drift-pill.p4  { animation-name: helpFloat2; animation-delay: 0.9s; }
.help-drift-pill.p5  { animation-name: helpFloat1; animation-delay: 1.2s; }
.help-drift-pill.p6  { animation-name: helpFloat2; animation-delay: 1.5s; }
.help-drift-pill.p7  { animation-name: helpFloat1; animation-delay: 1.8s; }
.help-drift-pill.p8  { animation-name: helpFloat2; animation-delay: 2.1s; }
.help-drift-pill.p9  { animation-name: helpFloat1; animation-delay: 2.4s; }
.help-drift-pill.p10 { animation-name: helpFloat2; animation-delay: 2.7s; }

@keyframes helpFloat1 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes helpFloat2 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* --- Badges --- */
.help-badge {
  display: inline-block;
  padding: 0.4rem 1.4rem;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.help-badge--orange {
  background: #fff3e0;
  color: #e65100;
}
.help-badge--green {
  background: #e8f5e9;
  color: #2e7d32;
}
.help-badge--blue {
  background: #e3f2fd;
  color: #1565c0;
}

/* --- Methods (for FAQ 5) --- */
.help-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0.8rem;
}
.help-method {
  padding: 1.6rem;
  background: #f8fafc;
  border-radius: 0.8rem;
  border-left: 3px solid #345cf8;
}
.help-method__tag {
  display: inline-block;
  padding: 0.2rem 1rem;
  background: #345cf8;
  color: #fff;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.help-method p {
  font-size: 1.4rem;
  color: #60748e;
  line-height: 1.8;
  margin: 0;
}

/* --- CTA Section --- */
.help-cta {
  padding: 8rem 0 12rem 0;
  text-align: center;
  background: linear-gradient(0deg, #f0f9fb 0%, #fff 100%);
}
.help-cta__inner h2 {
  font-size: 3.2rem;
  color: #223461;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.help-cta__inner p {
  font-size: 1.6rem;
  color: #60748e;
  margin-bottom: 3rem;
}
.help-cta__btn {
  display: inline-block;
  padding: 1.6rem 4.8rem;
  background: linear-gradient(135deg, #345cf8, #1985d4);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 0.8rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(52, 92, 248, 0.3);
}
.help-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(52, 92, 248, 0.45);
  color: #fff;
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 1199.98px) {
  .help-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .help-methods {
    grid-template-columns: 1fr;
  }
  .help-drift-grid {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .hero__wrapper--help {
    padding: 20rem 0 12rem 0;
  }
  .hero__wrapper--help .hero__info {
    width: 100%;
    text-align: center;
  }
  .hero__wrapper--help .h1-heading {
    font-size: 3rem;
    line-height: 4rem;
  }
  .help-section {
    padding: 8rem 0;
  }
  .help-card {
    padding: 2.4rem 2rem;
  }
  .help-cmd-list {
    padding: 2.4rem;
  }
}

@media (max-width: 575.98px) {
  .hero__wrapper--help .h1-heading {
    font-size: 2.4rem;
    line-height: 3.4rem;
  }
  .help-section .h2-heading {
    font-size: 2.8rem;
    line-height: 3.8rem;
    margin-bottom: 3rem;
  }
  .help-card {
    padding: 2rem 1.6rem;
  }
  .help-card__title {
    font-size: 1.6rem;
  }
  .help-cmd-list {
    padding: 2rem 1.8rem;
  }
  .help-cmd-row {
    font-size: 1.4rem;
  }
  .help-cmd-row--sub {
    font-size: 1.3rem;
    padding-left: 1.6rem;
  }
  .help-methods {
    grid-template-columns: 1fr;
  }
  .help-cta__inner h2 {
    font-size: 2.4rem;
  }
  .help-drift-pill {
    padding: 1rem 1.8rem;
    font-size: 1.3rem;
  }
}
