:root {
  --hp-blue: #024ad8;
  --hp-blue-dark: #0139a8;
  --hp-ink: #1a1d24;
  --hp-deep: #0b1633;
  --hp-muted: #566073;
  --hp-soft: #f3f6fc;
}

.hp-page p { font-size: 1rem; color: var(--hp-muted); }
.hp-page h2 { font-size: 1.65rem; font-weight: 700; line-height: 1.3; color: var(--hp-ink); }
.hp-page h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.35; color: var(--hp-ink); }
.hp-page .hp-title { text-align: center; }
.hp-soft { background: var(--hp-soft); }
.hp-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Hero */
.hp-hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(700px 340px at 90% 0, rgba(2,74,216,.55), transparent 65%), linear-gradient(135deg, #060d22, var(--hp-deep));
}
.hp-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--hp-blue), transparent 80%); }
.hp-hero .container { position: relative; z-index: 1; }
.hp-page .hp-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 1rem; }
.hp-hero h1 span { color: #6b9bff; }
.hp-page .hp-hero .hp-hero-name { margin-bottom: .5rem; color: #fff; font-weight: 700; letter-spacing: .02em; }
.hp-page .hp-hero p { color: #cdd7ee; max-width: 520px; }
.hp-hero-img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }

/* Buttons */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1.5rem;
  border: 2px solid var(--hp-blue); border-radius: 999px; background: var(--hp-blue); color: #fff;
  font-weight: 700; font-size: .93rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.hp-btn:hover { background: var(--hp-blue-dark); border-color: var(--hp-blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(2,74,216,.4); }
.hp-btn i { font-size: .8em; transition: transform .2s ease; }
.hp-btn:hover i { transform: translateX(3px); }
.hp-btn-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.hp-btn-light:hover { background: rgba(255,255,255,.14); border-color: #fff; box-shadow: none; }
.hp-btn-sm { padding: .45rem 1.05rem; font-size: .85rem; }

/* Explore tiles */
.hp-tile {
  height: 100%; display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem 1.5rem; text-align: center; border-radius: 18px; background: var(--hp-soft);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.hp-tile:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 34px rgba(11,22,51,.14); }
.hp-tile img { height: 120px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 1rem; }
.hp-tile h3 { margin-bottom: 1rem; }
.hp-tile .hp-btn { margin-top: auto; }

/* Cards */
.hp-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(11,22,51,.09); transition: transform .25s ease, box-shadow .25s ease; }
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,22,51,.15); }
.hp-media { height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.hp-media-cover { background: var(--hp-deep); }
.hp-media-cover img { width: 100%; height: 100%; object-fit: cover; }
.hp-media-contain { padding: 1.25rem; background: linear-gradient(180deg, #f8faff, #e9effc); }
.hp-media-contain img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hp-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.hp-page .hp-card h3 { margin-bottom: .5rem; font-size: 1.02rem; }
.hp-page .hp-card .hp-tag { margin: 0 0 .5rem; font-size: .9rem; font-weight: 700; color: var(--hp-blue); }
.hp-page .hp-card .hp-desc { margin: 0 0 1rem; font-size: .88rem; line-height: 1.55; }
.hp-feats { list-style: none; margin: 0 0 1.25rem; padding: .85rem 1rem; display: grid; gap: .5rem; border-radius: 12px; background: var(--hp-soft); }
.hp-feats li { position: relative; padding-left: 1.4rem; font-size: .82rem; line-height: 1.45; color: var(--hp-ink); }
.hp-feats li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .12rem; font-size: .68rem; color: var(--hp-blue); }
.hp-card .hp-btn { margin-top: auto; align-self: flex-start; }

/* Tabs */
.hp-tabbar { background: #fff; border-top: 1px solid #e3e9f4; border-bottom: 1px solid #e3e9f4; }
.hp-tabbar .nav {
  flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none; gap: .25rem; padding: 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.hp-tabbar .nav::-webkit-scrollbar { display: none; }
.hp-tabbar .nav-item:first-child { margin-left: auto; }
.hp-tabbar .nav-item:last-child { margin-right: auto; }
.hp-tabbar .nav-link { position: relative; white-space: nowrap; display: flex; align-items: center; gap: .55rem; padding: 1.1rem 1.2rem; border-radius: 0; background: none; color: #5d6880; font-weight: 600; font-size: .95rem; transition: color .2s ease; }
.hp-tabbar .nav-link::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--hp-blue); transform: scaleX(0); transition: transform .25s ease; }
.hp-tabbar .nav-link i { color: #9aa6bf; transition: color .2s ease; }
.hp-tabbar .nav-link:hover { color: var(--hp-ink); background: none; }
.hp-tabbar .nav-link:hover::after { transform: scaleX(.4); }
.hp-tabbar .nav-link.active { color: var(--hp-ink); background: none; }
.hp-tabbar .nav-link.active::after { transform: scaleX(1); }
.hp-tabbar .nav-link.active i { color: var(--hp-blue); }

/* Promo and CTA */
.hp-promo-img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 18px 44px rgba(11,22,51,.25); background: var(--hp-deep); }
.hp-page .hp-tag { color: var(--hp-blue); font-weight: 700; }
.hp-cta { position: relative; overflow: hidden; background: radial-gradient(700px 320px at 100% 0, rgba(2,74,216,.55), transparent 65%), linear-gradient(135deg, #060d22, var(--hp-deep)); }
.hp-cta::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--hp-blue)); }
.hp-cta .container { position: relative; z-index: 1; }
.hp-cta-mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 1.25rem; border-radius: 14px; background: var(--hp-blue); color: #fff; font-size: 1.3rem; }
.hp-page .hp-cta h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; line-height: 1.35; }
.hp-cta-img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }

@media (prefers-reduced-motion: reduce) {
  .hp-btn, .hp-tile, .hp-card, .hp-btn i, .hp-tabbar .nav-link::after { transition: none; }
}

/* Hero logo */
.hp-hero-logo {
  display: block;
  width: auto;
  height: 56px;
  margin: 0 0 1.5rem;
}

