/* ============================================================
   HA Portal Landing Page — Dark Navy (2026-05-18)
   ============================================================ */

body.hp-body-app .hp-main {
  padding: 0 !important; overflow: visible !important; max-width: none !important;
  background: var(--hp-bg); position: relative;
}
body.hp-body-app .hp-main::before {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(ellipse 60% 45% at 75% -5%, rgba(37,99,235,.13) 0%, transparent 55%),
              radial-gradient(ellipse 45% 45% at -5% 85%, rgba(99,102,241,.08) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}
.hp-footer { margin-top: 0 !important; }

.ha-lp { background: var(--hp-bg); color: var(--hp-text); position: relative; overflow: hidden; }
.ha-lp::before {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 70% -10%, rgba(37,99,235,.16) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at -10% 80%, rgba(99,102,241,.10) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}

.ha-lp-c { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px,5vw,60px); position: relative; z-index: 1; }
.ha-lp-hero { padding: clamp(80px,10vw,120px) 0 clamp(60px,8vw,100px); }
.ha-lp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.ha-lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.10); border: 1px solid rgba(59,130,246,.22);
  border-radius: 100px; padding: 5px 14px 5px 10px;
  font-size: 12px; font-weight: 600; color: #93c5fd; letter-spacing: .05em; margin-bottom: 22px;
}
.ha-lp-eyedot {
  width: 7px; height: 7px; border-radius: 50%; background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6; flex-shrink: 0; animation: haGlow 2.2s ease-in-out infinite;
}
.ha-lp-h1 { font-size: clamp(36px,4.6vw,64px); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; color: #fff; margin: 0 0 18px; }
.ha-lp-h1-accent { background: linear-gradient(135deg,#60a5fa 0%,#818cf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ha-lp-hero-sub { font-size: clamp(14px,1.5vw,16.5px); color: var(--hp-text-2); line-height: 1.72; margin: 0 0 30px; }

.ha-lp-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.ha-lp-btn { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: var(--hp-r); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: transform var(--hp-tr), box-shadow var(--hp-tr), opacity var(--hp-tr); cursor: pointer; border: none; }
.ha-lp-btn:hover { transform: translateY(-2px); }
.ha-lp-btn-primary { background: linear-gradient(135deg,var(--hp-brand),var(--hp-brand-2)); color: #fff; box-shadow: var(--hp-sh-brand); }
.ha-lp-btn-primary:hover { box-shadow: 0 12px 32px rgba(37,99,235,.45); color: #fff; }
.ha-lp-btn-ghost { background: var(--hp-surface-3); border: 1px solid var(--hp-border-2); color: var(--hp-text-2); }
.ha-lp-btn-ghost:hover { background: var(--hp-surface-hl); color: var(--hp-text); }

.ha-lp-stats { display: flex; align-items: center; gap: 20px; }
.ha-lp-stat { display: flex; flex-direction: column; gap: 3px; }
.ha-lp-stat-n { font-size: 21px; font-weight: 800; color: #fff; line-height: 1; }
.ha-lp-stat-l { font-size: 11px; color: var(--hp-text-3); letter-spacing: .04em; }
.ha-lp-stat-sep { width: 1px; height: 28px; background: var(--hp-border); flex-shrink: 0; }

.ha-lp-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.ha-lp-hero-visual::before { content: ''; position: absolute; inset: -20%; background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(37,99,235,.18) 0%, transparent 70%); pointer-events: none; }
.ha-lp-hero-img { width: 100%; max-width: 460px; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 24px 60px rgba(37,99,235,.22)); }

.ha-lp-features { padding: clamp(72px,9vw,110px) 0; }
.ha-lp-sec-tag { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--hp-brand-2); text-align: center; text-transform: uppercase; margin-bottom: 14px; }
.ha-lp-sec-h2 { font-size: clamp(26px,3.2vw,42px); font-weight: 900; text-align: center; color: #fff; letter-spacing: -.025em; line-height: 1.2; margin: 0 0 12px; }
.ha-lp-sec-sub { font-size: 15px; color: var(--hp-text-2); text-align: center; max-width: 540px; margin: 0 auto 56px; line-height: 1.7; }

.ha-lp-feat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ha-lp-feat-card {
  background: var(--hp-surface-3); border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-lg); padding: 26px 22px; position: relative; overflow: hidden; backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1), background var(--hp-tr), border-color var(--hp-tr);
}
.ha-lp-feat-card.ha-visible { opacity: 1; transform: translateY(0); }
.ha-lp-feat-card.ha-visible:hover { transform: translateY(-3px); }
.ha-lp-feat-card:hover { background: var(--hp-surface-hl); border-color: rgba(37,99,235,.24); }
.ha-lp-feat-card:nth-child(1) { transition-delay: 0ms; }
.ha-lp-feat-card:nth-child(2) { transition-delay: 80ms; }
.ha-lp-feat-card:nth-child(3) { transition-delay: 160ms; }
.ha-lp-feat-card:nth-child(4) { transition-delay: 240ms; }
.ha-lp-feat-card:nth-child(5) { transition-delay: 320ms; }
.ha-lp-feat-card:nth-child(6) { transition-delay: 400ms; }
.ha-lp-feat-num { position: absolute; top: 16px; right: 18px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.12); letter-spacing: .08em; }
.ha-lp-feat-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ha-lp-feat-title { font-size: 15.5px; font-weight: 700; color: #fff; margin: 0 0 7px; }
.ha-lp-feat-desc { font-size: 13px; color: var(--hp-text-2); line-height: 1.65; margin: 0; }
.ha-lp-feat-more { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--hp-brand-2); text-decoration: none; margin-top: 12px; }
.ha-lp-feat-more:hover { color: var(--hp-brand-3); }

.ic-blue   { background:rgba(59,130,246,.13);  color:#60a5fa; }
.ic-orange { background:rgba(249,115,22,.13);  color:#fb923c; }
.ic-green  { background:rgba(34,197,94,.13);   color:#4ade80; }
.ic-purple { background:rgba(167,139,250,.13); color:#a78bfa; }
.ic-cyan   { background:rgba(6,182,212,.13);   color:#22d3ee; }
.ic-rose   { background:rgba(244,63,94,.13);   color:#fb7185; }

.ha-lp-cta-bar { background: linear-gradient(135deg,rgba(37,99,235,.12),rgba(99,102,241,.08)); border-top: 1px solid var(--hp-border); border-bottom: 1px solid var(--hp-border); padding: clamp(44px,6vw,68px) 0; }
.ha-lp-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ha-lp-cta-q { font-size: clamp(17px,2.2vw,24px); font-weight: 800; color: #fff; margin: 0 0 7px; }
.ha-lp-cta-desc { font-size: 14px; color: var(--hp-text-2); line-height: 1.6; max-width: 460px; margin: 0; }
.ha-lp-cta-links { margin-top: 24px; text-align: center; font-size: 12.5px; color: var(--hp-text-3); }
.ha-lp-cta-links a { color: var(--hp-text-3); text-decoration: none; margin: 0 8px; transition: color var(--hp-tr); }
.ha-lp-cta-links a:hover { color: var(--hp-brand-3); }

@media (max-width: 960px) {
  .ha-lp-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .ha-lp-hero-visual { order: -1; }
  .ha-lp-hero-img { max-width: 320px; }
  .ha-lp-btns { justify-content: center; }
  .ha-lp-stats { justify-content: center; }
  .ha-lp-feat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ha-lp-cta-row { flex-direction: column; text-align: center; }
  .ha-lp-cta-desc { margin: 0 auto; }
}
@media (max-width: 580px) {
  .ha-lp-hero-grid { gap: 36px; }
  .ha-lp-feat-grid { grid-template-columns: 1fr; }
  .ha-lp-features { padding: 56px 0; }
  .ha-lp-eyebrow { font-size: 11px; }
  .ha-lp-hero { padding: 56px 0 36px; }
  .ha-lp-btns { gap: 8px; }
  .ha-lp-btns .ha-lp-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}
@media (max-width: 420px) {
  .ha-lp-btns { flex-direction: column; gap: 10px; }
  .ha-lp-btns .ha-lp-btn { flex: none; width: 100%; justify-content: center; }
  .ha-lp-stats { gap: 12px; }
  .ha-lp-stat-n { font-size: 18px; }
  .ha-lp-stat-sep { height: 20px; }
  .ha-lp-hero-img { max-width: 260px; }
  .ha-lp-h1 { font-size: 28px; }
}

/* ---- Keyframes ---- */
@keyframes haGlow { 0%,100% { box-shadow: 0 0 5px #3b82f6; } 50% { box-shadow: 0 0 12px #60a5fa, 0 0 24px rgba(96,165,250,.4); } }
@keyframes haFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes haFadeScale { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.ha-lp-eyebrow  { animation: haFadeUp .6s .05s both cubic-bezier(.16,1,.3,1); }
.ha-lp-h1       { animation: haFadeUp .65s .12s both cubic-bezier(.16,1,.3,1); }
.ha-lp-hero-sub { animation: haFadeUp .65s .20s both cubic-bezier(.16,1,.3,1); }
.ha-lp-btns     { animation: haFadeUp .65s .27s both cubic-bezier(.16,1,.3,1); }
.ha-lp-stats    { animation: haFadeUp .65s .36s both cubic-bezier(.16,1,.3,1); }
.ha-lp-hero-visual { animation: haFadeScale .8s .08s both cubic-bezier(.16,1,.3,1); }

.ha-reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.ha-reveal.ha-visible { opacity: 1; transform: translateY(0); }

/* ---- Shared Page Hero ---- */
.ha-page-hero { text-align: center; padding: clamp(72px,9vw,110px) clamp(20px,5vw,60px) clamp(40px,5vw,64px); position: relative; z-index: 1; }
.ha-eyebrow-v2 { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--hp-brand-2); text-transform: uppercase; margin-bottom: 16px; }
.ha-h2 { font-size: clamp(26px,3.6vw,46px); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 14px; background: linear-gradient(135deg,#e0eaff 0%,#93c5fd 55%,#a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ha-h2-sub { font-size: 15px; color: var(--hp-text-2); line-height: 1.7; max-width: 520px; margin: 0 auto; }
.ha-h2-sub a { color: var(--hp-brand-2); text-decoration: none; }
.ha-h2-sub a:hover { color: var(--hp-brand-3); }

/* ---- FAQ ---- */
.ha-faq-wrap { max-width: 780px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px) 80px; position: relative; z-index: 1; }
.ha-faq-page { margin-bottom: 12px; }
.ha-faq-cat-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-brand-2); margin: 0 0 12px; }
.ha-faq-list { background: var(--hp-surface-3); border: 1px solid var(--hp-border); border-radius: var(--hp-r-lg); overflow: hidden; backdrop-filter: blur(8px); }
.ha-faq-item { border-bottom: 1px solid var(--hp-border); }
.ha-faq-item:last-child { border-bottom: none; }
.ha-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: none; border: none; cursor: pointer; color: #e2e8f8; font-size: 14.5px; font-weight: 600; text-align: left; transition: background var(--hp-tr), color var(--hp-tr); }
.ha-faq-q:hover { background: var(--hp-surface-hl); color: #fff; }
.ha-faq-item.open .ha-faq-q { color: #fff; background: rgba(37,99,235,.07); }
.ha-faq-arrow { flex-shrink: 0; color: var(--hp-text-3); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.ha-faq-item.open .ha-faq-arrow { transform: rotate(180deg); color: var(--hp-brand-2); }
.ha-faq-a { max-height: 0; overflow: hidden; padding: 0 20px; font-size: 13.5px; color: var(--hp-text-2); line-height: 1.75; transition: max-height .35s cubic-bezier(.16,1,.3,1), padding .35s cubic-bezier(.16,1,.3,1); }
.ha-faq-item.open .ha-faq-a { max-height: 300px; padding: 0 20px 18px; }

/* ---- CTA v2 ---- */
.ha-cta-v2 { position: relative; background: linear-gradient(135deg,rgba(37,99,235,.14),rgba(99,102,241,.10)); border: 1px solid rgba(37,99,235,.22); border-radius: var(--hp-r-lg); padding: clamp(40px,6vw,72px) clamp(28px,5vw,72px); text-align: center; overflow: hidden; margin: 0 clamp(16px,4vw,40px) 80px; }
@media (min-width: 860px) { .ha-cta-v2 { margin-left: auto; margin-right: auto; max-width: 780px; } }
.ha-cta-v2-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(55px); }
.ha-cta-orb-a { width: 260px; height: 260px; background: rgba(37,99,235,.18); top: -80px; left: -80px; }
.ha-cta-orb-b { width: 200px; height: 200px; background: rgba(99,102,241,.14); bottom: -60px; right: -60px; }
.ha-cta-v2-title { font-size: clamp(22px,3vw,36px); font-weight: 900; color: #fff; margin: 0 0 12px; position: relative; }
.ha-cta-v2-sub { font-size: 15px; color: var(--hp-text-2); margin: 0 0 28px; position: relative; }
.ha-cta-v2-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

.hp-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8); display: inline-flex; align-items: center; padding: 12px 22px; border-radius: var(--hp-r); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: transform var(--hp-tr), background var(--hp-tr), border-color var(--hp-tr); }
.hp-btn-outline:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.45); transform: translateY(-2px); color: #fff; }

/* ---- Features ---- */
.ha-feat-wrap { max-width: 860px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px) 80px; position: relative; z-index: 1; }
.ha-feat-detail { display: flex; gap: 28px; align-items: flex-start; background: var(--hp-surface-3); border: 1px solid var(--hp-border); border-radius: var(--hp-r-lg); padding: 32px 28px; margin-bottom: 20px; backdrop-filter: blur(8px); transition: border-color var(--hp-tr), transform var(--hp-tr); }
.ha-feat-detail:hover { border-color: rgba(37,99,235,.28); transform: translateY(-2px); }
.ha-feat-detail-icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; background: var(--fg, rgba(59,130,246,.12)); color: var(--fc, #60a5fa); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.ha-feat-detail-body h2 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 10px; letter-spacing: -.02em; }
.ha-feat-detail-body p { font-size: 13.5px; color: var(--hp-text-2); line-height: 1.75; margin: 0 0 16px; }
.ha-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ha-check-list li { display: flex; align-items: baseline; gap: 9px; font-size: 13px; color: var(--hp-text-2); }
.ha-check { color: var(--fc, #4ade80); font-weight: 700; font-size: 12px; flex-shrink: 0; }

@media (max-width: 600px) {
  .ha-feat-detail { flex-direction: column; gap: 18px; }
  .ha-feat-detail-icon { width: 46px; height: 46px; border-radius: 12px; }
}