/* ===== BASE ===== */
.howit-page {
  background: var(--main-white-pure-color)
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", sans-serif;
  color: #0f172a;
  background: var(--main-white-pure-color);
}

.howit-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 110px;
}

/* ===== HERO & TABS ===== */
.howit-hero {
  margin-bottom: 40px;
}

.howit-hero-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.howit-kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--main-primary-color);
  font-weight: 600;
}

.howit-title {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.howit-subtitle {
  font-size: 15px;
  line-height: 2;
  color: #374151;
  margin: 0;
  font-weight: 500;
}

/* Tabs */
.howit-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.09);
}

.howit-tab {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.howit-tab--active {
  background: var(--main-primary-color);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.6);
}

/* ===== SECTIONS ===== */
.howit-section {
  display: none;
  margin-top: 48px;
}

.howit-section--active {
  display: block;
}

/* two-column layout */
.howit-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.howit-section h2 {
  font-size: 22px;
  margin: 0 0 16px;
}

/* Bullets */
.howit-bullets {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.howit-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563;
  font-weight: 500;
}

.howit-bullets li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4b6bff;
}

/* Generic cards */
.howit-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 24px 22px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.howit-card--highlight {
  border: 1px solid rgba(79, 70, 229, 0.16);
}

.howit-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
  font-weight: 600;
  margin: 0 0 6px;
}

.howit-card h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--main-primary-color);
}

.howit-card p {
  font-size: 14px;
  color: #374151;
  margin: 0;
  line-height: 1.95;
  font-weight: 600;
}

/* Steps (employers flow) */
.howit-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.howit-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
}

.howit-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--main-primary-color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.8);
}

.howit-steps h4 {
  font-size: 15px;
  margin: 0 0 4px;
}

.howit-steps p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

/* Grid (3 columns blocks) */
.howit-grid {
  display: grid;
  gap: 24px;
}

.howit-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.howit-grid--soft .howit-card {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

/* ===== Members side: pill list ===== */
.howit-pill-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.howit-pill {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.howit-pill h4 {
  font-size: 15px;
  margin: 0 0 4px;
}

.howit-pill p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
  font-weight: 500;
}

/* ===== PREMIUM EXAMPLE CARD (Νικόλ – 20 FitCoins) ===== */

.howit-example-card {
  background: radial-gradient(circle at top left, #eef2ff 0, #ffffff 45%, #f9fafb 100%);
  border-radius: 26px;
  padding: 26px 26px 24px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
  position: relative;
  overflow: hidden;
}

.howit-example-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 55%);
  pointer-events: none;
}

/* top row */
.howit-example-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.howit-example-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.howit-example-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--main-primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.7);
}

.howit-example-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 3px;
}

.howit-example-sub {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
}

/* balance badge */
.howit-example-balance {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.howit-example-balance-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.howit-example-balance-icon .user-svg {
  width: 16px;
  height: 16px;
}

.howit-example-balance-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.howit-example-label {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
}

.howit-example-value {
  font-size: 15px;
  font-weight: 700;
  color: #1d4ed8;
}

/* body */
.howit-example-body {
  position: relative;
  z-index: 1;
  margin-top: 6px;
}

.howit-example-section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: #111827;
}

/* list */
.howit-example-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.howit-example-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.howit-example-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.howit-example-activity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.howit-example-bullet {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--main-primary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.7);
}

.howit-example-activity-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.howit-example-activity-meta {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  font-weight: 600;
}

.howit-example-activity-coins {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.howit-example-tag-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 12px;
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.howit-example-activity-total {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* summary line */
.howit-example-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
}

.howit-example-summary-label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

.howit-example-summary-line {
  height: 1px;
  background: linear-gradient(to right, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.6));
}

.howit-example-summary-value {
  font-size: 14px;
  font-weight: 700;
  color: #1d4ed8;
}

/* note */
.howit-example-note {
  font-size: 13px;
  color: #374151;
  margin: 0 0 18px;
  line-height: 1.9;
}

/* mini columns κάτω */
.howit-mini-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 4px;
}

.howit-mini-label {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

.howit-mini-text {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
  line-height: 1.9;
}

/* ===== CTA ===== */
.howit-cta {
  margin-top: 72px;
}

.howit-cta-card {
  background: #e4ebff;
  border-radius: 26px;
  padding: 28px 28px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.howit-cta-title {
  font-size: 22px;
  margin: 4px 0 10px;
}

.howit-cta-text {
  font-size: 14px;
  color: #1f2937;
  margin: 0;
  line-height: 1.9;
  font-weight: 500;
}

.howit-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* Buttons CTA */
.howit-btn-primary,
.howit-btn-secondary {
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}

.howit-btn-primary {
  background: var(--main-primary-color);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.65);
}

.howit-btn-secondary {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.howit-btn-primary:hover,
.howit-btn-secondary:hover {
  transform: translateY(-1px);
}

.howit-btn-primary:hover {
  box-shadow: 0 20px 52px rgba(37, 99, 235, 0.7);
}

.howit-btn-secondary:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.howit-btn-primary:active,
.howit-btn-secondary:active {
  transform: translateY(0);
  opacity: 0.96;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .howit-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .howit-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .howit-mini-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .howit-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howit-cta-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .howit-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .howit-container {
    padding-top: 48px;
    padding-bottom: 80px;
  }

  .howit-title {
    font-size: 24px;
  }

  .howit-subtitle {
    font-size: 14px;
  }

  .howit-tabs {
    width: 100%;
  }

  .howit-tab {
    flex: 1;
    text-align: center;
  }

  .howit-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .howit-card {
    border-radius: 20px;
  }

  .howit-example-card {
    padding: 22px 20px 20px;
  }
}
