/* ============================================================
   HelloWorld 跨境电商助手 — Brand CSS
   Domain: helloword-scrm.com
   Prefix: hws-
   Version: 1.1.3
   Palette: Primary #1880FF / Deep #0B5ED7 / Teal #14B8A6
            Soft #F0F7FF / Tint #E8F3FF / Teal-tint #E6FFFA
            Ink #0F172A / Muted #64748B / Pink tip #FF6B9D
   Vibe: light airy SaaS (meiqia-like structure, original colors/copy)
   ============================================================ */

:root {
  --hws-primary: #1880FF;
  --hws-primary-deep: #0B5ED7;
  --hws-teal: #14B8A6;
  --hws-soft: #F0F7FF;
  --hws-tint: #E8F3FF;
  --hws-tint-teal: #E6FFFA;
  --hws-ink: #0F172A;
  --hws-muted: #64748B;
  --hws-pink: #FF6B9D;
  --hws-white: #FFFFFF;
  --hws-border: #E2E8F0;
  --hws-shadow: 0 12px 40px rgba(24, 128, 255, 0.20);
  --hws-shadow-sm: 0 6px 20px rgba(24, 128, 255, 0.12);
  --hws-radius: 20px;
  --hws-radius-sm: 12px;
  --hws-radius-pill: 999px;
  --hws-max: 1120px;
  --hws-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base wrappers ---------- */
.hws-wrap {
  max-width: var(--hws-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.hws-section {
  padding: 72px 0;
  position: relative;
}
.hws-section--soft {
  background-color: var(--hws-soft);
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
}
.hws-section--tint {
  background: linear-gradient(180deg, var(--hws-soft) 0%, var(--hws-white) 100%);
}

/* ---------- Full-bleed soft backgrounds (break out of Astra .ast-container) ---------- */
.hws-hero,
.hws-page-hero,
.hws-section--soft,
.hws-section--tint {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
html {
  overflow-x: clip;
}

/* ---------- Kill header→hero white gap (Astra + WP auto <p>) ---------- */
.home .site-content,
.page-template-default .site-content {
  padding-top: 0 !important;
}
.home .ast-container,
.page-template-default.page .ast-container {
  padding-top: 0 !important;
}
.home #primary,
.home .site-main,
.home .ast-article-single,
.home .entry-content,
.page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .entry-header,
.page .entry-header.ast-header-without-markup {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}
/* WP wraps stray HTML comments into a leading <p><br></p> — hide it */
.home .entry-content > p:first-child:has(br),
.page .entry-content > p:first-child:has(br) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.home .entry-content > .hws-hero:first-child,
.home .entry-content > p + .hws-hero,
.page .entry-content > .hws-page-hero:first-child,
.page .entry-content > p + .hws-page-hero {
  margin-top: 0 !important;
}
.main-header-bar {
  margin-bottom: 0 !important;
}



/* ---------- Floating capsule header (restyle Astra #masthead) ---------- */
#masthead.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#masthead .main-header-bar-wrap,
#masthead .ast-main-header-wrap {
  background: transparent !important;
}
#masthead .ast-primary-header-bar.main-header-bar,
#masthead .main-header-bar {
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding: 10px 20px 0 !important;
  min-height: 0 !important;
}
#masthead .site-primary-header-wrap.ast-container {
  max-width: min(1120px, calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 3px 8px 3px 12px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(24, 128, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(24, 128, 255, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}
#masthead .ast-builder-grid-row {
  align-items: center !important;
  min-height: 34px;
}
#masthead .site-branding .custom-logo-link img,
#masthead .site-logo-img img {
  max-height: 24px !important;
  height: 24px !important;
  width: auto !important;
}
#masthead .main-header-menu {
  gap: 2px;
  align-items: center;
}
#masthead .main-header-menu > .menu-item > .menu-link {
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.2s var(--hws-ease);
}
#masthead .main-header-menu > .menu-item > .menu-link:hover,
#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
#masthead .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
  color: var(--hws-primary) !important;
  background: transparent !important;
}
/* Last item = CTA pill (免费下载) */
#masthead .main-header-menu > .menu-item:last-child > .menu-link {
  margin-left: 8px;
  padding: 5px 16px !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
  height: auto !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--hws-primary) 0%, var(--hws-primary-deep) 100%) !important;
  box-shadow: 0 4px 12px rgba(24, 128, 255, 0.30);
}
#masthead .main-header-menu > .menu-item:last-child > .menu-link:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--hws-primary-deep) 0%, #094DB3 100%) !important;
  box-shadow: 0 8px 22px rgba(24, 128, 255, 0.45);
}
/* Mobile header: keep bar clean, capsule-ish */
@media (max-width: 921px) {
  #masthead .ast-primary-header-bar.main-header-bar {
    padding: 8px 12px 0 !important;
  }
  #masthead .site-primary-header-wrap.ast-container {
    max-width: calc(100% - 16px) !important;
    padding: 8px 12px !important;
  }
}

/* Keep old custom markup styles if ever injected */
.hws-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-bottom: -8px;
}
.hws-header__capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 18px 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(24, 128, 255, 0.12);
  border-radius: var(--hws-radius-pill);
  box-shadow: var(--hws-shadow-sm);
}
.hws-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--hws-ink);
  font-weight: 700;
  font-size: 15px;
}
.hws-header__logo img {
  height: 28px;
  width: auto;
  display: block;
}
.hws-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hws-header__nav a {
  text-decoration: none;
  color: var(--hws-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--hws-radius-pill);
  transition: color 0.2s var(--hws-ease), background 0.2s var(--hws-ease);
}
.hws-header__nav a:hover {
  color: var(--hws-primary);
  background: var(--hws-tint);
}
.hws-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--hws-primary) 0%, var(--hws-primary-deep) 100%);
  color: var(--hws-white) !important;
  border-radius: var(--hws-radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(24, 128, 255, 0.35);
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease);
}
.hws-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(24, 128, 255, 0.45);
}

/* ---------- Cross-grid layer (SVG, fixed, always visible) ---------- */
html.home,
body.home {
  background: #F0F7FF !important;
}
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #F0F7FF;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M32 0H0M0 0V32' stroke='%231880FF' stroke-opacity='0.18' stroke-width='1' fill='none'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(24, 128, 255, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #F0F7FF 0%, rgba(247,250,255,0.92) 40%, rgba(255,255,255,0.88) 75%);
  background-size: 32px 32px, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: 0 0, center, center;
}
body.home #page,
body.home #masthead,
body.home .site-content,
body.home #content {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
}

/* ---------- Soft page canvas + cross grid under floating header ---------- */
/* Astra paints .ast-plain-container / .site-content white — force transparent so body grid shows */
body.home.ast-plain-container,
body.home.ast-page-builder-template,
body.home #page,
body.home .site-content,
body.home .ast-container,
body.home #primary,
body.home .site-main,
body.home .ast-article-single,
body.home article.page,
body.home .entry-content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.home {
  /* Cross grid (visible) + soft blue wash */
  background-color: #F0F7FF !important;
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.14) 1px, transparent 1px),
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(24, 128, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 8%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #F0F7FF 0%, #F7FAFF 38%, #FFFFFF 70%) !important;
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto,
    auto !important;
  background-position: 0 0, 0 0, center, center, center !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat !important;
}

/* Inner pages: soft top + light grid behind page-hero */
body.page:not(.home).ast-plain-container,
body.page:not(.home) #page,
body.page:not(.home) .site-content {
  background: transparent !important;
  background-color: transparent !important;
}
body.page:not(.home) {
  background-color: #FFFFFF !important;
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.10) 1px, transparent 1px),
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(24, 128, 255, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 28%) !important;
  background-size: 28px 28px, 28px 28px, auto, auto !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat !important;
}

/* Hero sits on page canvas (no opaque wash covering grid) */
body.home .hws-hero {
  margin-top: -64px;
  padding-top: calc(72px + 64px) !important;
  background: transparent !important;
}
body.page:not(.home) .hws-page-hero {
  margin-top: -64px;
  padding-top: calc(72px + 64px) !important;
  background: transparent !important;
}

#masthead,
#masthead .ast-desktop-header,
#masthead #ast-desktop-header,
#masthead .ast-mobile-header-wrap,
#ast-mobile-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hws-section--soft {
  background-color: #F0F7FF !important;
  background-image:
    linear-gradient(rgba(24, 128, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 128, 255, 0.11) 1px, transparent 1px) !important;
  background-size: 28px 28px, 28px 28px !important;
}


/* ---------- Buttons ---------- */
.hws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--hws-radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease), background 0.2s var(--hws-ease);
}
.hws-btn--primary {
  background: linear-gradient(135deg, var(--hws-primary) 0%, var(--hws-primary-deep) 100%);
  color: var(--hws-white);
  box-shadow: 0 10px 28px rgba(24, 128, 255, 0.35);
}
.hws-btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(24, 128, 255, 0.45);
  color: var(--hws-white);
}
.hws-btn--ghost {
  background: var(--hws-white);
  color: var(--hws-primary);
  border: 1.5px solid rgba(24, 128, 255, 0.35);
}
.hws-btn--ghost:hover {
  background: var(--hws-tint);
  transform: translateY(-1px);
  color: var(--hws-primary-deep);
}
.hws-btn--teal {
  background: linear-gradient(135deg, var(--hws-teal) 0%, #0D9488 100%);
  color: var(--hws-white);
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.35);
}
.hws-btn--teal:hover {
  transform: translateY(-2px) scale(1.02);
  color: var(--hws-white);
}
.hws-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hws-hero {
  text-align: center;
  padding: 72px 0 48px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(24, 128, 255, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(20, 184, 166, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, var(--hws-soft) 0%, var(--hws-white) 70%);
}
.hws-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--hws-white);
  border: 1px solid rgba(24, 128, 255, 0.18);
  border-radius: var(--hws-radius-pill);
  color: var(--hws-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--hws-shadow-sm);
}
.hws-hero__title {
  font-size: clamp(52px, 8.5vw, 88px);
  line-height: 1.08;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  background: linear-gradient(120deg, #0B5ED7 0%, #1880FF 42%, #14B8A6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 28px rgba(24, 128, 255, 0.28));
}
.hws-hero__title .hws-grad {
  background: linear-gradient(120deg, var(--hws-primary) 0%, var(--hws-teal) 55%, var(--hws-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hws-hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--hws-muted);
  max-width: 920px;
  margin: 0 auto 28px;
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .hws-hero__title {
    white-space: normal;
    font-size: clamp(40px, 11vw, 58px);
  }
}

.hws-hero__visual {
  margin-top: 48px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.hws-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--hws-radius);
  box-shadow: var(--hws-shadow);
  transition: transform 0.35s var(--hws-ease), box-shadow 0.35s var(--hws-ease);
}
.hws-hero__visual img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 56px rgba(24, 128, 255, 0.28);
}

/* ---------- Page heroes (inner pages) ---------- */
.hws-page-hero {
  text-align: center;
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(24, 128, 255, 0.12) 0%, transparent 55%),
    var(--hws-soft);
}
.hws-page-hero__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hws-page-hero__sub {
  font-size: 17px;
  color: var(--hws-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Channel / brand wall row ---------- */
.hws-channels {
  padding: 40px 0 24px;
  text-align: center;
}
.hws-channels__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hws-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hws-channels__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}
.hws-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--hws-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s var(--hws-ease), box-shadow 0.2s var(--hws-ease), border-color 0.2s;
}
.hws-channel:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--hws-shadow-sm);
  border-color: rgba(24, 128, 255, 0.3);
}
.hws-channel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hws-primary);
  flex-shrink: 0;
}
.hws-channel__dot--wa { background: #25D366; }
.hws-channel__dot--tg { background: #2AABEE; }
.hws-channel__dot--fb { background: #1877F2; }
.hws-channel__dot--ig { background: #E4405F; }
.hws-channel__dot--line { background: #06C755; }
.hws-channel__dot--sk { background: #00AFF0; }
.hws-channel__dot--dc { background: #5865F2; }
.hws-channel__dot--x { background: #0F172A; }

/* ---------- Feature zigzag ---------- */
.hws-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}
.hws-feat--rev .hws-feat__media { order: 2; }
.hws-feat--rev .hws-feat__body { order: 1; }
.hws-feat__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--hws-tint);
  color: var(--hws-primary);
  border-radius: var(--hws-radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hws-feat__badge--teal {
  background: var(--hws-tint-teal);
  color: #0D9488;
}
.hws-feat__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.hws-feat__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hws-muted);
  margin: 0 0 16px;
}
.hws-feat__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hws-feat__list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--hws-ink);
  line-height: 1.5;
}
.hws-feat__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hws-tint-teal);
  box-shadow: inset 0 0 0 4px var(--hws-teal);
}
.hws-feat__media {
  background: var(--hws-tint);
  border-radius: var(--hws-radius);
  padding: 20px;
  box-shadow: var(--hws-shadow-sm);
  transition: transform 0.35s var(--hws-ease), box-shadow 0.35s var(--hws-ease);
}
.hws-feat__media--teal {
  background: var(--hws-tint-teal);
}
.hws-feat__media:hover {
  transform: scale(1.03);
  box-shadow: var(--hws-shadow);
}
.hws-feat__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--hws-radius-sm);
}

/* ---------- Cards grid (who-for / download / stats) ---------- */
.hws-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hws-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.hws-card {
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s var(--hws-ease);
}
.hws-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--hws-shadow);
}
.hws-card--tint {
  background: var(--hws-tint);
  border-color: transparent;
}
.hws-card--teal {
  background: var(--hws-tint-teal);
  border-color: transparent;
}
.hws-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hws-white);
  font-size: 20px;
  margin-bottom: 16px;
}
.hws-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hws-muted);
  margin: 0;
}

/* ---------- Stats strip ---------- */
.hws-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.hws-stat {
  padding: 24px 12px;
  background: var(--hws-white);
  border-radius: var(--hws-radius-sm);
  border: 1px solid var(--hws-border);
}
.hws-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--hws-primary);
  margin-bottom: 4px;
}
.hws-stat__num--teal { color: var(--hws-teal); }
.hws-stat__label {
  font-size: 13px;
  color: var(--hws-muted);
  font-weight: 500;
}

/* ---------- Steps ---------- */
.hws-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: hws-step;
}
.hws-step {
  position: relative;
  background: var(--hws-white);
  border-radius: var(--hws-radius);
  padding: 32px 24px 28px;
  border: 1px solid var(--hws-border);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s;
}
.hws-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--hws-shadow-sm);
}
.hws-step::before {
  counter-increment: hws-step;
  content: counter(hws-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hws-primary), var(--hws-teal));
  color: var(--hws-white);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.hws-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-step__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hws-muted);
  margin: 0;
}

/* ---------- Section headings ---------- */
.hws-heading {
  text-align: center;
  margin-bottom: 40px;
}
.hws-heading__title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--hws-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hws-heading__title .hws-grad {
  background: linear-gradient(120deg, var(--hws-primary) 0%, var(--hws-teal) 60%, var(--hws-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hws-heading__sub {
  font-size: 16px;
  color: var(--hws-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.hws-faq {
  max-width: 760px;
  margin: 0 auto;
}
.hws-faq__item {
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s var(--hws-ease), border-color 0.2s;
}
.hws-faq__item:hover {
  border-color: rgba(24, 128, 255, 0.3);
  box-shadow: var(--hws-shadow-sm);
}
.hws-faq__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-faq__a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--hws-muted);
  margin: 0;
}

/* ---------- CTA band ---------- */
.hws-cta-band {
  text-align: center;
  padding: 64px 32px;
  background:
    linear-gradient(135deg, rgba(24, 128, 255, 0.95) 0%, rgba(11, 94, 215, 0.95) 50%, rgba(20, 184, 166, 0.9) 100%);
  border-radius: var(--hws-radius);
  color: var(--hws-white);
  box-shadow: var(--hws-shadow);
  margin: 24px 0;
}
.hws-cta-band__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--hws-white);
}
.hws-cta-band__sub {
  font-size: 16px;
  opacity: 0.92;
  margin: 0 0 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hws-cta-band .hws-btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--hws-white);
}
.hws-cta-band .hws-btn--ghost:hover {
  background: var(--hws-white);
  color: var(--hws-primary-deep);
}
.hws-cta-band .hws-btn--primary {
  background: var(--hws-white);
  color: var(--hws-primary-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.hws-cta-band .hws-btn--primary:hover {
  color: var(--hws-primary);
}

/* ---------- Download cards ---------- */
.hws-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.hws-dl-card {
  background: var(--hws-white);
  border: 1px solid var(--hws-border);
  border-radius: var(--hws-radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s;
}
.hws-dl-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--hws-shadow);
}
.hws-dl-card__icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.hws-dl-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-dl-card__meta {
  font-size: 13px;
  color: var(--hws-muted);
  margin: 0 0 20px;
  line-height: 1.5;
}
.hws-dl-card .hws-btn {
  width: 100%;
}

/* ---------- Prose pages (about / privacy / terms) ---------- */
.hws-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.hws-prose h2 {
  font-size: 22px;
  font-weight: 750;
  color: var(--hws-ink);
  margin: 36px 0 12px;
}
.hws-prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 24px 0 8px;
}
.hws-prose p,
.hws-prose li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--hws-muted);
}
.hws-prose ul,
.hws-prose ol {
  padding-left: 1.25em;
  margin: 8px 0 16px;
}
.hws-prose a {
  color: var(--hws-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hws-prose .hws-note {
  background: var(--hws-tint);
  border-left: 3px solid var(--hws-primary);
  padding: 12px 16px;
  border-radius: 0 var(--hws-radius-sm) var(--hws-radius-sm) 0;
  font-size: 14px;
  color: var(--hws-ink);
  margin: 16px 0;
}

/* ---------- Blog empty / list friendly ---------- */
.hws-blog-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--hws-soft);
  border-radius: var(--hws-radius);
  border: 1px dashed rgba(24, 128, 255, 0.25);
}
.hws-blog-empty__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 8px;
}
.hws-blog-empty__desc {
  font-size: 15px;
  color: var(--hws-muted);
  margin: 0;
}
.hws-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hws-blog-card {
  background: var(--hws-white);
  border-radius: var(--hws-radius-sm);
  overflow: hidden;
  border: 1px solid var(--hws-border);
  transition: transform 0.25s var(--hws-ease), box-shadow 0.25s;
}
.hws-blog-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--hws-shadow-sm);
}
.hws-blog-card__thumb {
  aspect-ratio: 1200 / 630;
  background: var(--hws-tint);
  object-fit: cover;
  width: 100%;
  display: block;
}
.hws-blog-card__body {
  padding: 16px 18px 20px;
}
.hws-blog-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hws-ink);
  margin: 0 0 6px;
  line-height: 1.4;
}
.hws-blog-card__excerpt {
  font-size: 13px;
  color: var(--hws-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Footer columns ---------- */
.hws-footer {
  background: var(--hws-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 48px;
}
.hws-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.hws-footer__brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--hws-white);
  margin-bottom: 10px;
}
.hws-footer__tag {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}
.hws-footer__col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--hws-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hws-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hws-footer__links a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.hws-footer__links a:hover {
  color: var(--hws-teal);
}
.hws-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.hws-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.hws-footer__bottom a:hover {
  color: var(--hws-teal);
}

/* ---------- Utility ---------- */
.hws-center { text-align: center; }
.hws-mt-24 { margin-top: 24px; }
.hws-mt-40 { margin-top: 40px; }
.hws-mb-0 { margin-bottom: 0; }
.hws-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Scroll-reveal friendly hooks (CSS-only fade-in on load; JS optional later) */
@media (prefers-reduced-motion: no-preference) {
  .hws-reveal {
    animation: hws-fade-up 0.7s var(--hws-ease) both;
  }
  .hws-reveal--delay-1 { animation-delay: 0.08s; }
  .hws-reveal--delay-2 { animation-delay: 0.16s; }
  .hws-reveal--delay-3 { animation-delay: 0.24s; }
}
@keyframes hws-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hws-feat,
  .hws-feat--rev {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hws-feat--rev .hws-feat__media,
  .hws-feat--rev .hws-feat__body {
    order: unset;
  }
  .hws-cards,
  .hws-steps,
  .hws-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hws-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hws-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hws-header__nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .hws-section { padding: 48px 0; }
  .hws-hero { padding: 64px 0 32px; }
  .hws-cards,
  .hws-cards--2,
  .hws-steps,
  .hws-blog-grid,
  .hws-stats {
    grid-template-columns: 1fr;
  }
  .hws-footer__grid {
    grid-template-columns: 1fr;
  }
  .hws-btn-row { flex-direction: column; }
  .hws-btn { width: 100%; }
}
