/* TrainingBot V125 — compact community-first mobile homepage */
.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 4.1vw, 4.2rem) !important;
  line-height: .98;
  letter-spacing: -.06em;
}

.light-signup-card {
  position: relative;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 102, 18, .16), transparent 38%),
    radial-gradient(circle at 72% 42%, rgba(255, 92, 0, .055), transparent 46%),
    linear-gradient(135deg, #211f2f 0%, #1b1b29 52%, #131723 100%) !important;
  border-color: rgba(123, 142, 188, .42) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

.light-signup-card::after {
  content: "MỚI";
  position: absolute;
  top: 8px;
  left: 111px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6f12 0%, #ff4b00 100%);
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .045em;
  box-shadow: 0 6px 18px rgba(255, 86, 7, .34);
  animation: lightNewPulse 1.15s ease-in-out infinite;
}

@keyframes lightNewPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .48; transform: scale(.96); }
}

.light-signup-copy strong {
  font-size: 1.46rem !important;
  letter-spacing: .035em !important;
}

.light-signup-copy span {
  font-size: .92rem !important;
}

.light-signup-btn {
  min-width: 178px !important;
  padding: 0 26px !important;
  background: linear-gradient(135deg, #ff6f12 0%, #ff4b00 100%) !important;
  box-shadow: 0 10px 24px rgba(255, 86, 7, .24);
}

@media (max-width: 600px) {
  .site-header {
    background: rgba(6, 9, 20, .94);
  }

  .header-inner {
    min-height: 60px;
  }

  .brand {
    gap: 8px;
    font-size: 1rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .announcement-inner {
    min-height: 44px;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    flex-wrap: nowrap !important;
    font-size: .69rem !important;
    line-height: 1.25 !important;
  }

  .announcement-badge {
    padding: 4px 7px;
    font-size: .65rem;
  }

  .announcement-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .announcement a {
    white-space: nowrap;
    font-size: .69rem;
  }

  .hero {
    padding: 38px 0 30px !important;
    overflow: visible;
  }

  .hero-layout {
    gap: 26px;
  }

  .hero-copy,
  .hero-copy p {
    text-align: left;
  }

  .kicker {
    font-size: .65rem;
    letter-spacing: .11em;
  }

  .kicker::before {
    width: 18px;
  }

  .hero-copy h1 {
    margin: 14px 0 18px;
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.3rem) !important;
    line-height: .96;
    letter-spacing: -.055em;
  }

  .hero-copy p {
    max-width: 100%;
    margin: 0;
    color: #b5bfd4;
    font-size: .94rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1.08fr .92fr;
    gap: 9px;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: .82rem;
  }

  .hero-actions .button svg {
    width: 16px;
    height: 16px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .hero-trust span {
    min-height: 52px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 7px 3px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
    font-size: .62rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero-trust i {
    width: 6px;
    height: 6px;
  }

  .hero-visual {
    min-height: 250px !important;
    margin-top: 4px;
  }

  .dashboard-card {
    inset: 0 !important;
    padding: 15px !important;
    border-radius: 22px;
    transform: none;
  }

  .dashboard-chip {
    padding: 5px 8px;
    font-size: .58rem;
  }

  .dashboard-main {
    margin-top: 13px;
    padding: 14px;
    border-radius: 16px;
  }

  .dashboard-main h3 {
    margin: 5px 0 11px;
    font-size: 1.35rem;
  }

  .progress-shell {
    height: 7px;
  }

  .dashboard-grid {
    gap: 8px;
    margin-top: 9px;
  }

  .mini-card {
    min-height: 88px;
    padding: 11px;
    border-radius: 14px;
  }

  .mini-card span {
    font-size: .65rem;
  }

  .mini-card b {
    margin-top: 7px;
    font-size: 1.12rem;
  }

  .graph {
    height: 23px;
    gap: 3px;
    margin-top: 6px;
  }

  .float-card {
    display: none;
  }

  .stats-strip {
    padding: 12px 0 52px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px;
  }

  .stat {
    min-height: 92px;
    padding: 15px;
    border-radius: 15px;
  }

  .stat b {
    font-size: 1.05rem;
  }

  .stat span {
    font-size: .71rem;
    line-height: 1.35;
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    gap: 13px;
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .section-header p,
  .feature-card p,
  .article-body p {
    font-size: .9rem;
  }

  .feature-card {
    min-height: 0;
    padding: 21px;
    border-radius: 20px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .feature-card h3 {
    margin: 28px 0 10px;
    font-size: 1.35rem;
  }

  .feature-card a {
    position: static;
    display: inline-flex;
    margin-top: 24px;
  }

  .article-cover,
  .tb-home-cover {
    min-height: 180px;
  }

  .article-body {
    padding: 18px;
  }

  .light-signup-card::after {
    top: 6px;
    left: 79px;
    min-width: 34px;
    height: 20px;
    padding: 0 6px;
    font-size: .56rem;
  }

  .light-signup-copy strong {
    font-size: 1.08rem !important;
    letter-spacing: .025em !important;
  }

  .light-signup-copy span {
    font-size: .78rem !important;
  }

  .light-signup-btn {
    min-width: 142px !important;
    padding: 0 18px !important;
  }
}

@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 1.95rem !important;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}
