@import url("/assets/lib/google-fonts/inter-41007c12.css");

/* ==========================================================
   Logged-out home page (/home.html = Views/Account/Login.cshtml)
   Loaded by the home-script-snippet (pasted at the bottom of the view).
   Everything is scoped to body.hm, which the snippet adds.
   ========================================================== */
:root {
  --hm-navy: #002e52;
  --hm-navy2: #0b3b66;
  --hm-ink: #1e1b4b;
  --hm-text: #1f2937;
  --hm-muted: #5b6475;
  --hm-orange: #f97316;
  --hm-orange-d: #c2410c;
  --hm-teal: #14b8a6;
  --hm-teal-d: #0f766e;
  --hm-pink: #ec4899;
  --hm-purple: #8b5cf6;
  --hm-blue: #3b82f6;
  --hm-yellow: #fbbf24;
  --hm-green: #22c55e;
  --hm-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --hm-nav-h: 68px;
}

html { scroll-behavior: smooth; }
body.hm { font-family: var(--hm-font) !important; color: var(--hm-text); background: #fff !important; overflow-x: clip; }
body.hm h1, body.hm h2, body.hm h3, body.hm h4, body.hm h5, body.hm p, body.hm a, body.hm button, body.hm span, body.hm li, body.hm input { font-family: var(--hm-font); }
body.hm main section, body.hm .trust-bar { position: relative; overflow: hidden; scroll-margin-top: calc(var(--hm-nav-h) + 8px); }
body.hm main section > .container { position: relative; z-index: 2; }

/* ---------- Section headers ---------- */
body.hm .section-label {
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 7px 16px !important; border-radius: 999px !important;
  font-size: 13px !important; font-weight: 800 !important; letter-spacing: .08em; text-transform: uppercase;
  background: #fff !important; color: var(--hm-c, var(--hm-orange)) !important;
  border: 2px solid currentColor !important;
  box-shadow: 0 3px 0 currentColor;
}
body.hm .section-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body.hm .hero-title {
  font-weight: 900 !important; letter-spacing: -.02em; line-height: 1.05 !important;
  font-size: clamp(2rem, 4.6vw, 3.4rem) !important; color: var(--hm-ink);
}
body.hm .gradient-text {
  background: linear-gradient(90deg, var(--hm-orange), var(--hm-pink) 45%, var(--hm-purple)) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
}

/* ---------- Decorative floating shapes (added by the snippet) ---------- */
.hm-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hm-deco span { position: absolute; display: block; border-radius: 50%; opacity: .55; animation: hmFloat 9s ease-in-out infinite; }
.hm-deco span.sq { border-radius: 14px; }
.hm-deco span.ring { background: transparent !important; border: 6px solid currentColor; }
@keyframes hmFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(12deg); } }

/* ==========================================================
   TOP BAR
   ========================================================== */
body.hm nav.navbar {
  background:
    radial-gradient(circle at 12% -60%, rgba(56,189,248,.35), transparent 50%),
    radial-gradient(circle at 85% 140%, rgba(236,72,153,.40), transparent 45%),
    linear-gradient(100deg, #0a2a5c 0%, #1d3a9e 35%, #4c2bb0 68%, #8b2fa8 100%) !important;
  box-shadow: 0 2px 0 rgba(255,255,255,.06), 0 8px 24px rgba(20, 10, 60, .30);
  min-height: var(--hm-nav-h); padding: 8px 0 !important; z-index: 1030 !important;
}
body.hm nav.navbar .container-fluid { max-width: 1320px; gap: 10px; }
body.hm nav.navbar .navbar-brand { margin-right: 6px; padding: 0; transition: transform .2s; }
body.hm nav.navbar .navbar-brand:hover { transform: scale(1.04) rotate(-1deg); }
body.hm .nav-logo { height: 38px !important; width: auto !important; max-width: 62vw; }
.hm-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--hm-yellow), var(--hm-orange), var(--hm-pink), var(--hm-purple)); border-radius: 0 4px 4px 0; transition: width .1s linear; }

/* jump links */
.hm-links { list-style: none; display: flex; gap: 2px; margin: 0 auto; padding: 0; align-items: center; }
.hm-links li { display: flex; align-items: center; }
.hm-links li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.35); margin: 0 4px; }
.hm-links a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px;
  color: #dbe7f5 !important; font-weight: 700; font-size: 15px; text-decoration: none !important;
  transition: background .2s, color .2s, transform .2s;
}
.hm-links a:hover { background: rgba(255,255,255,.12); color: #fff !important; transform: translateY(-1px); }
.hm-links a.active { background: rgba(255,255,255,.5); color: var(--hm-ink) !important; }

/* buttons in the bar */
body.hm nav .btn { font-weight: 800 !important; border-radius: 999px !important; transition: transform .15s, box-shadow .15s, background .2s; }
body.hm nav .btn-outline-success { border: 2px solid rgba(255,255,255,.55) !important; background: transparent !important; }
body.hm nav .btn-outline-success:hover { background: rgba(255,255,255,.14) !important; border-color: #fff !important; transform: translateY(-2px); }
body.hm nav .btn-primary, body.hm .hm-mtop .btn-primary {
  background: var(--hm-orange) !important; border: 0 !important; color: #fff !important;
  box-shadow: 0 4px 0 var(--hm-orange-d) !important;
}
body.hm nav .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--hm-orange-d) !important; }
body.hm nav .btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--hm-orange-d) !important; }
body.hm nav .dropdown > .btn.text-white { border-radius: 999px !important; padding: 8px 14px !important; background: rgba(255,255,255,.08) !important; }
body.hm nav .dropdown > .btn.text-white:hover { background: rgba(255,255,255,.16) !important; }
body.hm nav .dropdown-menu { border: 0 !important; border-radius: 18px !important; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25) !important; }
body.hm nav .dropdown-menu a { display: block; padding: 6px 10px; border-radius: 10px; transition: background .15s; }
body.hm nav .dropdown-menu a:hover { background: #fff3e6; }
body.hm nav .dropdown-menu > div > div { margin-bottom: 4px !important; }

/* phone: Join + Login stay in the bar, the rest goes in the menu */
.hm-mtop { display: none; gap: 8px; align-items: center; margin-left: auto; }
.hm-mtop .btn { padding: 7px 14px !important; font-size: 14px !important; white-space: nowrap; }
body.hm nav .navbar-toggler {
  width: 44px; height: 44px; padding: 0 !important; border-radius: 14px !important;
  background: rgba(255,255,255,.12) !important; filter: none !important; box-shadow: none !important;
  align-items: center; justify-content: center; margin-left: 0 !important;
}
body.hm nav .navbar-toggler .navbar-toggler-icon { background-image: none !important; position: relative; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: background .2s; }
body.hm nav .navbar-toggler .navbar-toggler-icon::before,
body.hm nav .navbar-toggler .navbar-toggler-icon::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
body.hm nav .navbar-toggler .navbar-toggler-icon::before { top: -7px; }
body.hm nav .navbar-toggler .navbar-toggler-icon::after { top: 7px; }
body.hm nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background: transparent; }
body.hm nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { top: 0; transform: rotate(45deg); }
body.hm nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .hm-mtop { display: flex; }
  body.hm nav .navbar-toggler { display: inline-flex; }
  body.hm .nav-logo { height: 30px !important; }
  body.hm nav .navbar-collapse { margin-top: 10px; padding: 10px; border-radius: 20px; background: rgba(255,255,255,.07); }
  .hm-links { flex-direction: column; align-items: stretch; gap: 2px; margin: 0 0 6px; }
  .hm-links a { font-size: 17px; padding: 12px 14px; border-radius: 14px; width: 100%; }
  .hm-links li + li::before { display: none; }
  body.hm nav .navbar-collapse .d-lg-none.pt-3 { padding-top: 6px !important; border-top: 1px solid rgba(255,255,255,.12); }
}
@media (min-width: 992px) {
  body.hm nav .navbar-collapse { flex-wrap: nowrap; }
  body.hm nav .navbar-collapse > .d-lg-flex { flex-shrink: 0; flex-wrap: nowrap; }
  body.hm nav .btn { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hm-links a { padding: 8px 10px; font-size: 14px; }
}

/* ==========================================================
   TRUST BAR + LANGUAGE FLAGS
   ========================================================== */
body.hm .trust-bar { background: linear-gradient(90deg, #fff7ed, #fdf2f8 50%, #eef2ff) !important; border-bottom: 1px solid #f1e6f4; padding: 14px 0 !important; }
body.hm .trust-items { gap: 12px !important; }
body.hm .trust-item { background: #fff; padding: 8px 16px; border-radius: 999px; box-shadow: 0 3px 0 rgba(30,27,75,.08), 0 6px 14px rgba(30,27,75,.06); transition: transform .2s; }
body.hm .trust-item:hover { transform: translateY(-3px) rotate(-1deg); }
body.hm .trust-num { font-weight: 900 !important; font-size: 22px !important; }
body.hm .trust-num br { display: none; }
body.hm .trust-item:nth-child(1) .trust-num { color: var(--hm-orange) !important; }
body.hm .trust-item:nth-child(2) .trust-num { color: var(--hm-pink) !important; }
body.hm .trust-item:nth-child(3) .trust-num { color: var(--hm-purple) !important; }
body.hm .trust-label { color: var(--hm-ink) !important; font-weight: 700; font-size: 14px; }
body.hm .trust-item button { width: 30px !important; height: 30px !important; box-shadow: 0 3px 0 var(--hm-orange-d); transition: transform .2s; }
body.hm .trust-item button:hover { transform: scale(1.15) rotate(10deg); }

/* ==========================================================
   HERO
   ========================================================== */
body.hm #hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(251,191,36,.28), transparent 32%),
    radial-gradient(circle at 88% 15%, rgba(236,72,153,.20), transparent 30%),
    radial-gradient(circle at 75% 90%, rgba(139,92,246,.20), transparent 35%),
    radial-gradient(circle at 20% 95%, rgba(20,184,166,.20), transparent 32%),
    linear-gradient(180deg, #fffaf3, #f5f3ff) !important;
}
body.hm #hero > .container { margin: 48px auto !important; }
body.hm #hero h1.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.2rem) !important; text-align: left !important; }
body.hm #hero .d-lg-flex .btn { padding-left: 30px !important; padding-right: 30px !important; }
body.hm #hero p.fs-4 { color: #475069 !important; font-weight: 600 !important; font-size: clamp(1.05rem, 1.7vw, 1.35rem) !important; }
body.hm #hero img.img-fluid {
  border-radius: 32px !important; border: 8px solid #fff;
  box-shadow: 14px 14px 0 var(--hm-yellow), 0 30px 60px rgba(30,27,75,.25) !important;
  transform: rotate(-2deg); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
body.hm #hero img.img-fluid:hover { transform: rotate(0) scale(1.02); box-shadow: 18px 18px 0 var(--hm-pink), 0 36px 70px rgba(30,27,75,.3) !important; }
.hm-photo { position: relative; display: inline-block; }
.hm-badge {
  position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  color: #fff; font-weight: 900; box-shadow: 0 5px 0 rgba(0,0,0,.18), 0 12px 24px rgba(0,0,0,.18);
  animation: hmBob 4s ease-in-out infinite;
}
.hm-badge.b1 { width: 92px; height: 92px; top: -22px; right: -14px; background: var(--hm-orange); font-size: 28px; transform: rotate(10deg); }
.hm-badge.b2 { width: 64px; height: 64px; bottom: -18px; left: -14px; background: var(--hm-teal); font-size: 26px; animation-delay: -2s; }
.hm-badge.b3 { width: 52px; height: 52px; bottom: 24%; right: -22px; background: var(--hm-purple); font-size: 20px; animation-delay: -1s; }
@keyframes hmBob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* big candy buttons everywhere on the page */
body.hm main .btn-primary.btn-lg, body.hm main .modal-trigger-btn.btn-lg {
  background: linear-gradient(180deg, #fb923c, var(--hm-orange)) !important; border: 0 !important; color: #fff !important;
  border-radius: 18px !important; font-weight: 900 !important; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 6px 0 var(--hm-orange-d), 0 14px 26px rgba(249,115,22,.35) !important;
  transition: transform .15s, box-shadow .15s !important;
}
body.hm main .btn-primary.btn-lg:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--hm-orange-d), 0 18px 30px rgba(249,115,22,.4) !important; }
body.hm main .btn-primary.btn-lg:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--hm-orange-d) !important; }
body.hm main .btn-outline-secondary.btn-lg {
  background: #fff !important; color: #111 !important; border: 3px solid #111 !important; border-radius: 18px !important; font-weight: 900 !important; white-space: nowrap;
  box-shadow: 0 6px 0 #111 !important; transition: transform .15s, box-shadow .15s !important;
}
body.hm main .btn-outline-secondary.btn-lg::before { content: "\f04b"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 10px; color: var(--hm-pink); }
body.hm main .btn-outline-secondary.btn-lg:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #111 !important; }
body.hm main .btn-outline-secondary.btn-lg:active { transform: translateY(5px); box-shadow: 0 1px 0 #111 !important; }

/* ==========================================================
   PROBLEMS (navy)
   ========================================================== */
body.hm #problems {
  --hm-c: var(--hm-yellow);
  background:
    radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(circle at 10% 10%, rgba(59,130,246,.35), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(236,72,153,.28), transparent 40%),
    linear-gradient(160deg, #002e52, #102a6b 60%, #2a1b6b) !important;
  padding-top: 120px !important; padding-bottom: 90px !important;
}
body.hm #problems .section-label { background: rgba(255,255,255,.08) !important; }
.hm-wave-bot::after {
  content: ""; position: absolute; left: 0; right: 0; height: 46px; z-index: 2; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%;
}
/* Top wave: the section itself is cut into a wave and slides up over the section above,
   so that section's own background shows through (no white band) */
.hm-wave-top {
  margin-top: -46px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M1440 14c-160 26-320 32-480 18S640 0 480 8 160 44 0 30V46h1440z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 100% 46px no-repeat, linear-gradient(#000 0 0) 0 45px / 100% calc(100% - 45px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M1440 14c-160 26-320 32-480 18S640 0 480 8 160 44 0 30V46h1440z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 100% 46px no-repeat, linear-gradient(#000 0 0) 0 45px / 100% calc(100% - 45px) no-repeat;
}
.hm-wave-bot::after { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46h1440V20c-200-24-380-26-560-8S560 40 380 30 120 6 0 18z' fill='%23ffffff'/%3E%3C/svg%3E"); }
body.hm .problem-card {
  border: 0 !important; border-radius: 28px !important; padding: 18px 18px 26px !important; background: #fff !important;
  box-shadow: 0 8px 0 var(--pc, var(--hm-orange)), 0 20px 40px rgba(0,0,0,.25) !important;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s !important;
}
body.hm #problems .col-md-4:nth-child(1) .problem-card { --pc: var(--hm-orange); }
body.hm #problems .col-md-4:nth-child(2) .problem-card { --pc: var(--hm-teal); }
body.hm #problems .col-md-4:nth-child(3) .problem-card { --pc: var(--hm-pink); }
body.hm .problem-card img, body.hm .path-card img { width: 100% !important; height: 240px !important; object-fit: cover; border-radius: 20px !important; margin-bottom: 18px; transition: transform .5s; }
body.hm .problem-card .hm-imgbox, body.hm .path-card .hm-imgbox { overflow: hidden; border-radius: 20px; margin-bottom: 18px; }
body.hm .problem-card .hm-imgbox img, body.hm .path-card .hm-imgbox img { margin-bottom: 0 !important; }
body.hm .problem-card:hover, body.hm .path-card:hover { transform: translateY(-10px) rotate(-1deg); }
body.hm .problem-card:hover img, body.hm .path-card:hover img { transform: scale(1.08); }
body.hm .problem-card h3 { font-weight: 900 !important; color: var(--hm-ink); }
body.hm .problem-card h3 .text-primary { color: var(--pc) !important; display: inline-block; transition: transform .3s; }
body.hm .problem-card:hover h3 .text-primary { transform: translateX(6px); }
body.hm .problem-card h4 { display: inline-block; background: color-mix(in srgb, var(--pc) 14%, #fff); color: color-mix(in srgb, var(--pc) 70%, #1e1b4b) !important; padding: 8px 16px; border-radius: 999px; font-size: 15px !important; }
body.hm .transition-box {
  background: rgba(255,255,255,.96) !important; border: 0 !important; border-radius: 28px !important;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 24px 50px rgba(0,0,0,.3);
}
body.hm .transition-highlight { font-weight: 900; font-size: 1.5rem; background: linear-gradient(90deg, var(--hm-teal), var(--hm-blue), var(--hm-purple)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

/* ==========================================================
   SOLUTION
   ========================================================== */
body.hm #solution {
  --hm-c: var(--hm-teal);
  background:
    linear-gradient(rgba(20,184,166,.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(20,184,166,.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #ffffff, #f0fdfa) !important;
  padding-top: 80px !important;
}
body.hm .solution-stat {
  border: 0 !important; border-radius: 30px !important;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--hm-teal), var(--hm-blue), var(--hm-purple)) border-box !important;
  border: 5px solid transparent !important; border-image: none !important;
  box-shadow: 0 16px 40px rgba(15,118,110,.15) !important;
}
body.hm .solution-stat .text-primary { color: var(--hm-ink) !important; }
body.hm .feature-card {
  border: 0 !important; border-radius: 26px !important; background: #fff !important; padding: 28px 20px !important;
  box-shadow: 0 6px 0 var(--fc), 0 14px 30px rgba(30,27,75,.08) !important;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
body.hm #solution .row > div:nth-child(1) .feature-card { --fc: var(--hm-orange); }
body.hm #solution .row > div:nth-child(2) .feature-card { --fc: var(--hm-teal); }
body.hm #solution .row > div:nth-child(3) .feature-card { --fc: var(--hm-pink); }
body.hm #solution .row > div:nth-child(4) .feature-card { --fc: var(--hm-purple); }
body.hm .feature-card .mb-3 i {
  width: 84px; height: 84px; border-radius: 26px; display: inline-flex !important; align-items: center; justify-content: center;
  font-size: 38px !important; color: #fff !important; background: var(--fc);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--fc) 60%, #1e1b4b); transition: transform .4s;
}
body.hm .feature-card:hover { transform: translateY(-8px); }
body.hm .feature-card:hover .mb-3 i { transform: rotate(-10deg) scale(1.1); }
body.hm .feature-text { color: var(--hm-ink); font-size: 16px !important; font-weight: 700 !important; }

/* ==========================================================
   MORE FUN / PROGRAMS (rebuilt cards)
   ========================================================== */
body.hm #hm-programs {
  --hm-c: var(--hm-pink);
  background:
    radial-gradient(circle at 15% 25%, rgba(251,191,36,.35), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(236,72,153,.22), transparent 32%),
    linear-gradient(180deg, #fffbeb, #fff1f7) !important;
  padding-top: 80px !important; padding-bottom: 90px !important;
}
.hm-prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; max-width: 1200px; margin: 26px auto 0; padding: 0 12px; }
.hm-prog {
  --p1: #fb923c; --p2: #f97316; --pd: #c2410c;
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 18px 26px; border-radius: 30px; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(160deg, var(--p1), var(--p2));
  box-shadow: 0 8px 0 var(--pd), 0 20px 36px color-mix(in srgb, var(--p2) 35%, transparent);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; overflow: hidden; cursor: pointer;
}
.hm-prog::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.14); top: -70px; right: -60px; transition: transform .5s; }
.hm-prog::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.10); bottom: -40px; left: -30px; }
.hm-prog.p-kids { --p1: #f472b6; --p2: #db2777; --pd: #9d174d; }
.hm-prog.p-ess { --p1: #2dd4bf; --p2: #0d9488; --pd: #115e59; }
.hm-prog.p-ph { --p1: #a78bfa; --p2: #7c3aed; --pd: #5b21b6; }
.hm-prog:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 14px 0 var(--pd), 0 28px 46px color-mix(in srgb, var(--p2) 45%, transparent); }
.hm-prog:active { transform: translateY(4px); box-shadow: 0 3px 0 var(--pd); }
.hm-prog .hm-ico { position: relative; z-index: 1; width: 112px; height: 112px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 6px 0 rgba(0,0,0,.12), inset 0 -6px 0 rgba(0,0,0,.05); }
.hm-prog .hm-ico > i { font-size: 50px; color: var(--p2); transition: transform .4s; }
.hm-prog .hm-ico .o { position: absolute; width: 38px; height: 38px; border-radius: 50%; background: var(--hm-yellow); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 3px 0 rgba(0,0,0,.15); transition: transform .4s; }
.hm-prog .hm-ico .o1 { top: -4px; right: -8px; }
.hm-prog .hm-ico .o2 { bottom: -2px; left: -10px; background: var(--hm-ink); }
.hm-prog:hover .hm-ico > i { animation: hmWiggle .6s ease; }
.hm-prog:hover .hm-ico .o1 { transform: translate(6px,-6px) rotate(20deg); }
.hm-prog:hover .hm-ico .o2 { transform: translate(-6px,6px) rotate(-20deg); }
@keyframes hmWiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.1); } 50% { transform: rotate(10deg) scale(1.1); } 75% { transform: rotate(-6deg); } }
.hm-prog h3 { position: relative; z-index: 1; font-size: 24px !important; font-weight: 900 !important; margin: 0 0 6px !important; color: #fff !important; text-shadow: 0 2px 0 rgba(0,0,0,.15); }
.hm-prog p { position: relative; z-index: 1; margin: 0 0 16px !important; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.95) !important; }
.hm-prog .hm-go { position: relative; z-index: 1; margin-top: auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .3s; }
.hm-prog:hover .hm-go { background: #fff; color: var(--p2); transform: translateX(4px); }
@media (max-width: 991.98px) { .hm-prog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .hm-prog-grid { gap: 14px; } .hm-prog { padding: 22px 10px 18px; } .hm-prog .hm-ico { width: 84px; height: 84px; } .hm-prog .hm-ico > i { font-size: 36px; } .hm-prog h3 { font-size: 19px !important; } .hm-prog p { font-size: 13px; } }

/* ==========================================================
   HOW IT WORKS (4 steps)
   ========================================================== */
body.hm #how-it-works {
  --hm-c: var(--hm-blue);
  background:
    radial-gradient(circle at 90% 10%, rgba(59,130,246,.18), transparent 35%),
    radial-gradient(circle at 5% 85%, rgba(34,197,94,.16), transparent 35%),
    linear-gradient(180deg, #eff6ff, #f0fdf4) !important;
  padding-top: 80px !important; padding-bottom: 80px !important; counter-reset: hmstep;
}
body.hm #how-it-works .step {
  position: relative; border-radius: 28px !important; padding: 28px !important; counter-increment: hmstep;
  box-shadow: 0 6px 0 var(--sc), 0 16px 34px rgba(30,27,75,.08) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
body.hm #how-it-works .row > div:nth-child(1) .step { --sc: #fb7185; }
body.hm #how-it-works .row > div:nth-child(2) .step { --sc: #38bdf8; }
body.hm #how-it-works .row > div:nth-child(3) .step { --sc: #4ade80; }
body.hm #how-it-works .row > div:nth-child(4) .step { --sc: #c084fc; }
body.hm #how-it-works .step::before {
  content: counter(hmstep); position: absolute; top: -14px; left: -10px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--hm-ink); color: #fff; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 0 rgba(0,0,0,.2); border: 3px solid #fff;
}
body.hm #how-it-works .step i {
  border: 0 !important; border-radius: 24px !important; padding: 0 !important; width: 86px; height: 86px;
  display: inline-flex !important; align-items: center; justify-content: center; font-size: 38px !important;
  color: #fff !important; background: var(--sc) !important; box-shadow: 0 5px 0 color-mix(in srgb, var(--sc) 55%, #1e1b4b); transition: transform .4s;
}
body.hm #how-it-works .step:hover { transform: translateY(-8px); }
body.hm #how-it-works .step:hover i { transform: rotate(8deg) scale(1.1); }
body.hm #how-it-works .step h3 { font-weight: 900 !important; color: var(--hm-ink); }

/* ==========================================================
   PATHS (navy)
   ========================================================== */
body.hm #hm-paths {
  --hm-c: #5eead4;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 18px, transparent 18px 36px),
    radial-gradient(circle at 85% 15%, rgba(20,184,166,.3), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(251,191,36,.22), transparent 40%),
    linear-gradient(160deg, #002e52, #0b3b66 50%, #1e1b4b) !important;
  padding-top: 120px !important; padding-bottom: 90px !important;
}
body.hm #hm-paths .section-label { background: rgba(255,255,255,.08) !important; }
body.hm .path-card {
  border: 0 !important; border-radius: 28px !important; padding: 18px 18px 26px !important; background: #fff !important;
  box-shadow: 0 8px 0 var(--pc), 0 20px 40px rgba(0,0,0,.28) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
body.hm #hm-paths .col-lg-4:nth-child(1) .path-card { --pc: var(--hm-yellow); }
body.hm #hm-paths .col-lg-4:nth-child(2) .path-card { --pc: var(--hm-teal); }
body.hm #hm-paths .col-lg-4:nth-child(3) .path-card { --pc: var(--hm-pink); }
body.hm .path-card h3 { display: inline-block; align-self: center; padding: 8px 18px; border-radius: 999px; background: var(--pc); color: #fff !important; font-weight: 900 !important; letter-spacing: .06em; text-shadow: 0 1px 0 rgba(0,0,0,.2); }
body.hm .path-card p { color: #4b5563 !important; font-weight: 500; }

/* ==========================================================
   PRICING
   ========================================================== */
body.hm #pricing {
  --hm-c: var(--hm-orange);
  background:
    radial-gradient(circle at 8% 20%, rgba(249,115,22,.16), transparent 30%),
    radial-gradient(circle at 92% 40%, rgba(139,92,246,.16), transparent 30%),
    linear-gradient(180deg, #ffffff, #fff7ed) !important;
  padding-top: 80px !important; padding-bottom: 60px !important;
}
body.hm #pricing > .container { margin-bottom: 0 !important; }
body.hm .price-card {
  border: 0 !important; border-radius: 30px !important; background: #fff !important; overflow: visible;
  box-shadow: 0 8px 0 var(--prc), 0 22px 44px rgba(30,27,75,.10) !important; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
body.hm .price-card.quick-start { --prc: var(--hm-green); }
body.hm .price-card.balanced-pace { --prc: var(--hm-orange); }
body.hm .price-card:not(.quick-start):not(.balanced-pace) { --prc: var(--hm-blue); }
body.hm .price-card.featured { transform: scale(1.04); box-shadow: 0 8px 0 var(--prc), 0 0 0 4px var(--prc), 0 26px 50px rgba(249,115,22,.25) !important; }
body.hm .price-card:hover { transform: translateY(-10px); }
body.hm .price-card.featured:hover { transform: scale(1.04) translateY(-10px); }
body.hm .price-card .price { font-weight: 900 !important; font-size: 3.4rem !important; color: var(--prc) !important; }
body.hm .price-card .badge-custom { border-radius: 999px !important; font-weight: 900 !important; background: var(--prc) !important; color: #fff !important; letter-spacing: .05em; }
body.hm #pricing .transition-box { padding: 15px 24px !important; }
body.hm .price-card { height: auto !important; padding-bottom: 34px !important; }
body.hm #comparisonTable .comparison-table {
  margin: 22px auto 10px; border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 6px 0 rgba(139,92,246,.18), 0 18px 40px rgba(30,27,75,.10);
}
body.hm #comparisonTable table { margin: 0 !important; border: 0 !important; border-collapse: separate; border-spacing: 0; }
body.hm #comparisonTable th, body.hm #comparisonTable td { border: 0 !important; padding: 15px 18px !important; vertical-align: middle; font-size: 16px; }
body.hm #comparisonTable thead th { background: #f5f3ff !important; color: var(--hm-ink) !important; font-weight: 900 !important; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
body.hm #comparisonTable thead th:nth-child(2) { background: var(--hm-green) !important; color: #fff !important; }
body.hm #comparisonTable thead th:nth-child(3) { background: var(--hm-orange) !important; color: #fff !important; }
body.hm #comparisonTable thead th:nth-child(4) { background: var(--hm-blue) !important; color: #fff !important; }
body.hm #comparisonTable tbody td { background: #fff !important; color: #374151; font-weight: 600; border-top: 1px solid #f0eef7 !important; }
body.hm #comparisonTable tbody tr:nth-child(even) td { background: #faf9ff !important; }
body.hm #comparisonTable tbody td:first-child { color: var(--hm-ink); font-weight: 800; }
body.hm #comparisonTable tbody td:nth-child(3) { background: #fff7ed !important; }
body.hm #comparisonTable tbody tr:hover td { background: #fef3c7 !important; }
body.hm #comparisonTable .hm-ck { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-size: 12px; background: var(--hm-green); }
body.hm #comparisonTable td:nth-child(3) .hm-ck { background: var(--hm-orange); }
body.hm #comparisonTable td:nth-child(4) .hm-ck { background: var(--hm-blue); }
body.hm .price-card li .text-primary { width: 22px; height: 22px; border-radius: 50%; background: var(--prc); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
body.hm #pricing .btn-link { color: var(--hm-purple) !important; font-weight: 800; }
body.hm #pricing .btn-link:hover { color: var(--hm-pink) !important; }

/* ==========================================================
   FAQ
   ========================================================== */
body.hm #hm-faq {
  --hm-c: var(--hm-purple);
  background:
    radial-gradient(circle at 10% 15%, rgba(139,92,246,.16), transparent 32%),
    radial-gradient(circle at 90% 85%, rgba(20,184,166,.16), transparent 32%),
    linear-gradient(180deg, #f5f3ff, #ecfeff) !important;
  padding-top: 80px !important; padding-bottom: 80px !important;
}
body.hm #faqAccordion { max-width: 860px; margin: 0 auto; }
body.hm #faqAccordion .accordion-item { border-radius: 22px !important; box-shadow: 0 4px 0 rgba(139,92,246,.18), 0 10px 24px rgba(30,27,75,.06) !important; transition: transform .2s; }
body.hm #faqAccordion .accordion-item:hover { transform: translateX(4px); }
body.hm #faqAccordion .accordion-button { font-weight: 800 !important; font-size: 17px; color: var(--hm-ink) !important; padding: 20px 22px; background: #fff !important; box-shadow: none !important; }
body.hm #faqAccordion .accordion-button::before { content: "?"; flex-shrink: 0; width: 32px; height: 32px; margin-right: 14px; border-radius: 10px; background: var(--hm-purple); color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; transition: transform .3s, background .3s; }
body.hm #faqAccordion .accordion-button:not(.collapsed) { color: var(--hm-purple) !important; }
body.hm #faqAccordion .accordion-button:not(.collapsed)::before { background: var(--hm-orange); transform: rotate(-12deg); }
body.hm #faqAccordion .accordion-button::after { width: 30px; height: 30px; border-radius: 50%; background-color: #f1f0ff; background-position: center; background-size: 14px; }
body.hm #faqAccordion .accordion-body { color: #4b5563; font-size: 16px; line-height: 1.7; padding: 4px 26px 24px 68px; }

/* ==========================================================
   FINAL CALL TO ACTION
   ========================================================== */
body.hm .hm-final {
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,.18), transparent 25%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,.14), transparent 25%),
    linear-gradient(120deg, #f97316, #ec4899 50%, #8b5cf6) !important;
  padding-top: 90px !important; padding-bottom: 110px !important;
}
body.hm .hm-final .hero-title { color: #fff !important; margin-bottom: 40px !important; text-shadow: 0 4px 0 rgba(0,0,0,.12); }
body.hm .hm-final .btn-primary.btn-lg { background: #fff !important; color: var(--hm-orange) !important; box-shadow: 0 7px 0 #9a3412, 0 18px 34px rgba(0,0,0,.25) !important; font-size: 1.35rem !important; padding: 18px 46px !important; animation: hmPulse 2.4s ease-in-out infinite; }
body.hm .hm-final .btn-primary.btn-lg:hover { animation: none; }
body.hm .hm-final .text-muted { color: rgba(255,255,255,.92) !important; font-weight: 700; }
@keyframes hmPulse { 0%,100% { scale: 1; } 50% { scale: 1.05; } }

/* ==========================================================
   FOOTER (colourful, rolling wave on top, rainbow stripe at the bottom)
   ========================================================== */
.hm-foot {
  --fg: linear-gradient(90deg, #1e1b4b, #3730a3 40%, #6d28d9 70%, #be185d);
  position: relative; color: #fff; background: var(--fg); text-align: left;
}
.hm-foot-wave {
  position: absolute; left: 0; right: 0; top: -30px; height: 31px; background: var(--fg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30'%3E%3Cpath d='M0 30 V15 Q75 0 150 15 T300 15 V30 Z'/%3E%3C/svg%3E") 0 0 / 300px 31px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30'%3E%3Cpath d='M0 30 V15 Q75 0 150 15 T300 15 V30 Z'/%3E%3C/svg%3E") 0 0 / 300px 31px repeat-x;
  animation: hmRoll 8s linear infinite;
}
@keyframes hmRoll { to { -webkit-mask-position: 300px 0; mask-position: 300px 0; } }
.hm-foot-in { max-width: 1120px; margin: 0 auto; padding: 46px 20px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 34px; }
.hm-foot-brand img { width: 220px; max-width: 100%; height: auto; }
.hm-foot-brand h4 { margin: 14px 0 4px !important; font-size: 18px !important; font-weight: 900 !important; color: #fff !important; }
.hm-foot-brand p { margin: 0 !important; font-size: 15px; color: rgba(255,255,255,.8) !important; line-height: 1.5; }
.hm-foot-dots { display: flex; gap: 7px; margin-top: 16px; }
.hm-foot-dots i { width: 12px; height: 12px; border-radius: 50%; animation: hmDot 2.4s ease-in-out infinite; }
.hm-foot-dots i:nth-child(1) { background: #22c55e; }
.hm-foot-dots i:nth-child(2) { background: #0ea5e9; animation-delay: .15s; }
.hm-foot-dots i:nth-child(3) { background: #ec4899; animation-delay: .3s; }
.hm-foot-dots i:nth-child(4) { background: #f97316; animation-delay: .45s; }
.hm-foot-dots i:nth-child(5) { background: #facc15; animation-delay: .6s; }
@keyframes hmDot { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-7px); } }
.hm-foot h5 { margin: 6px 0 12px !important; font-size: 13px !important; font-weight: 900 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--f) !important; }
.hm-foot-col:nth-child(2) { --f: #fde047; }
.hm-foot-col:nth-child(3) { --f: #f9a8d4; }
.hm-foot-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.88) !important; font-weight: 600 !important; font-size: 15px; text-decoration: none !important; transition: color .15s, transform .15s; word-break: break-word; }
.hm-foot-col a:hover { color: #fff !important; transform: translateX(4px); }
.hm-foot-col a i { color: var(--f); margin-right: 6px; }
.hm-foot .hm-foot-cta {
  display: inline-block !important; margin-top: 14px; padding: 11px 22px !important; border-radius: 14px;
  background: linear-gradient(180deg, #fb923c, var(--hm-orange)); color: #fff !important; font-weight: 900 !important;
  box-shadow: 0 4px 0 var(--hm-orange-d); transition: transform .15s, box-shadow .15s !important;
}
.hm-foot .hm-foot-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 0 var(--hm-orange-d); }
.hm-foot-legal { max-width: 1120px; margin: 0 auto; padding: 0 20px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.hm-foot-legal > a, .hm-foot-legal summary.aiu-link { color: rgba(255,255,255,.75) !important; font-size: 14px !important; font-weight: 700; text-decoration: underline; margin: 0 !important; }
.hm-foot-legal > a:hover, .hm-foot-legal summary.aiu-link:hover { color: var(--hm-yellow) !important; }
.hm-foot-legal details[open] { flex-basis: 100%; }
.hm-foot-legal .aiu-breakout { position: static; left: auto; right: auto; width: auto; margin: 12px 0 0; }
.hm-foot-legal .aiu-inner { max-width: none; border-radius: 22px; margin-top: 0; padding: 22px 26px; color: #1f2937; }
.hm-foot-bottom { max-width: 1120px; margin: 0 auto; padding: 14px 20px 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.7); }
.hm-foot-stripe { height: 6px; background: linear-gradient(90deg, #22c55e, #0ea5e9, #6366f1, #ec4899, #f97316, #facc15, #22c55e); background-size: 200% 100%; animation: hmStripe 6s linear infinite; }
@keyframes hmStripe { to { background-position: 200% 0; } }
@media (max-width: 767.98px) {
  .hm-foot-in { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hm-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .hm-foot-in { grid-template-columns: 1fr; }
}

/* ==========================================================
   LOGIN + JOIN DIALOGS
   ========================================================== */
body.hm .hm-dlg .modal-dialog { max-width: 440px !important; }
body.hm .hm-dlg .modal-content {
  background: #fff !important; border: 0 !important; border-radius: 30px !important; overflow: hidden;
  box-shadow: 0 10px 0 rgba(30,27,75,.18), 0 30px 80px rgba(0,0,0,.45) !important;
  animation: hmPop .35s cubic-bezier(.2,1.4,.4,1);
}
@keyframes hmPop { from { transform: scale(.85) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
body.hm .hm-dlg .modal-body { padding: 0 !important; }
.hm-dlg-head {
  position: relative; padding: 26px 24px 54px; text-align: center; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(251,191,36,.45), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(236,72,153,.45), transparent 35%),
    linear-gradient(135deg, #002e52, #1e3a8a 60%, #5b21b6);
}
.hm-dlg-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34h440V10c-60 18-120 22-200 8S60 2 0 14z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.hm-dlg-head img { width: 240px !important; max-width: 80%; height: auto; position: relative; z-index: 1; }
.hm-dlg-head .hm-dlg-title { position: relative; z-index: 1; margin: 14px 0 0 !important; color: #fff !important; font-size: 24px !important; font-weight: 900 !important; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.hm-dlg-head .hm-dlg-title i { color: var(--hm-yellow); margin-right: 8px; }
.hm-dlg-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.hm-dlg-x:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.hm-dlg-stars span { position: absolute; color: rgba(255,255,255,.55); font-size: 14px; animation: hmTwinkle 2.6s ease-in-out infinite; }
@keyframes hmTwinkle { 0%,100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
.hm-dlg-form { padding: 6px 28px 26px; }
body.hm .hm-dlg .hm-field { position: relative; margin-bottom: 14px !important; }
body.hm .hm-dlg .hm-field > i.hm-fi { position: absolute; left: 16px; top: 15px; color: #9aa3b5; font-size: 17px; z-index: 2; transition: color .2s; }
body.hm .hm-dlg .form-control {
  height: 52px; border-radius: 16px !important; border: 2px solid #e5e7ef !important; background: #f8f9fc !important;
  padding-left: 46px !important; font-size: 16px !important; font-weight: 600; color: var(--hm-ink) !important; transition: border-color .2s, background .2s, box-shadow .2s;
}
body.hm .hm-dlg .form-control:focus { border-color: var(--hm-orange) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(249,115,22,.15) !important; }
body.hm .hm-dlg .hm-field:focus-within > i.hm-fi { color: var(--hm-orange); }
body.hm .hm-dlg .text-white { color: var(--hm-muted) !important; }
body.hm .hm-dlg a.text-white { color: var(--hm-purple) !important; font-weight: 700; font-size: 15px !important; }
body.hm .hm-dlg button[type="submit"] {
  background: linear-gradient(180deg, #fb923c, var(--hm-orange)) !important; color: #fff !important; border: 0 !important;
  border-radius: 16px !important; padding: 12px 26px !important; font-size: 17px !important; font-weight: 900 !important;
  box-shadow: 0 5px 0 var(--hm-orange-d) !important; transition: transform .15s, box-shadow .15s;
}
body.hm .hm-dlg button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--hm-orange-d) !important; }
body.hm .hm-dlg button[type="submit"]:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--hm-orange-d) !important; }
body.hm .hm-dlg .btn-outline-danger { border: 0 !important; color: var(--hm-muted) !important; background: transparent !important; font-weight: 700; }
body.hm .hm-dlg .btn-outline-danger:hover { color: var(--hm-ink) !important; text-decoration: underline; }
body.hm #login .hm-dlg-form > form > .btn-outline-danger { display: none; }
body.hm .hm-dlg .c-form-1-top { display: none; }
body.hm .hm-dlg .btn-close { display: none; }
body.hm .hm-dlg #loginError { color: #dc2626 !important; font-weight: 700; }
body.hm .modal-backdrop.show { opacity: .6; background: #0b1530; }

/* "?" (Sensory Recognition) dialog */
body.hm .hm-phil { background: rgba(11,21,48,.6) !important; z-index: 10000 !important; }
body.hm .hm-pcard { border-radius: 30px !important; max-width: 520px !important; box-shadow: 0 10px 0 rgba(30,27,75,.18), 0 30px 80px rgba(0,0,0,.45) !important; animation: hmPop .35s cubic-bezier(.2,1.4,.4,1); background: #fff !important; }
body.hm .hm-phead {
  position: relative; overflow: hidden; padding: 26px 64px 50px 26px !important; justify-content: flex-start !important;
  background:
    radial-gradient(circle at 15% 20%, rgba(251,191,36,.45), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(236,72,153,.45), transparent 35%),
    linear-gradient(135deg, #002e52, #1e3a8a 60%, #5b21b6) !important;
}
body.hm .hm-phead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34h440V10c-60 18-120 22-200 8S60 2 0 14z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
body.hm .hm-phead > span { position: relative; z-index: 1; font-size: 22px !important; font-weight: 900 !important; line-height: 1.25; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
body.hm .hm-phead > span i { color: var(--hm-yellow); margin-right: 10px; }
body.hm .hm-phead .hm-dlg-x { position: absolute !important; top: 14px; right: 14px; width: 38px !important; height: 38px; border-radius: 50% !important; background: rgba(255,255,255,.18) !important; font-size: 18px !important; display: flex; align-items: center; justify-content: center; }
body.hm .hm-phead .hm-dlg-x:hover { background: rgba(255,255,255,.32) !important; }
body.hm .hm-pbody { background: #fff !important; padding: 8px 28px 6px !important; }
body.hm .hm-pbody p { color: var(--hm-ink) !important; font-size: 16px !important; font-weight: 800 !important; }
body.hm .hm-pbody ul { list-style: none; padding-left: 0 !important; gap: 10px !important; }
body.hm .hm-pbody li { position: relative; padding: 10px 14px 10px 46px; border-radius: 16px; background: #f5f3ff; color: #374151 !important; font-size: 15px !important; font-weight: 600; }
body.hm .hm-pbody li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; border-radius: 50%; background: var(--hm-purple); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
body.hm .hm-pbody li:nth-child(2n) { background: #fff7ed; }
body.hm .hm-pbody li:nth-child(2n)::before { background: var(--hm-orange); }
body.hm .hm-pbody li:nth-child(3n) { background: #f0fdfa; }
body.hm .hm-pbody li:nth-child(3n)::before { background: var(--hm-teal); }
body.hm .hm-pfoot { background: #fff !important; border-top: 0 !important; padding: 10px 28px 26px !important; justify-content: center !important; }
body.hm .hm-pfoot button {
  background: linear-gradient(180deg, #fb923c, var(--hm-orange)) !important; border-radius: 16px !important; padding: 12px 34px !important;
  font-size: 17px !important; font-weight: 900 !important; box-shadow: 0 5px 0 var(--hm-orange-d) !important; transition: transform .15s, box-shadow .15s;
}
body.hm .hm-pfoot button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--hm-orange-d) !important; }
body.hm .hm-pfoot button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--hm-orange-d) !important; }

/* Dialog extras (www notice, links, hints) */
.hm-dlg-lock { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: rgba(255,255,255,.18); color: var(--hm-yellow); font-size: 26px; display: flex; align-items: center; justify-content: center; }
.hm-dlg-text { color: #374151; font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.hm-btn-candy {
  border: 0; margin-top: 6px; background: linear-gradient(180deg, #fb923c, var(--hm-orange)); color: #fff;
  border-radius: 16px; padding: 14px 20px; font-size: 17px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 5px 0 var(--hm-orange-d); transition: transform .15s, box-shadow .15s;
}
.hm-btn-candy:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--hm-orange-d); }
.hm-btn-candy:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--hm-orange-d); }
.hm-btn-link { border: 0; background: transparent; color: var(--hm-muted); font-weight: 700; padding: 8px 4px; }
.hm-btn-link:hover { color: var(--hm-ink); text-decoration: underline; }
.hm-forgot { color: var(--hm-purple) !important; font-weight: 700; font-size: 15px; }
.hm-hint { color: var(--hm-muted); font-size: 13px; margin: 6px 4px 0; }
body.hm .hm-dlg #loginError p, body.hm .hm-dlg #loginError span { color: #dc2626; }

/* "?" dialog layout */
.hm-phil { display: none; position: fixed; inset: 0; align-items: center; justify-content: center; padding: 1rem; z-index: 10000; }
.hm-pcard { overflow: hidden; width: 100%; }
.hm-phead { display: flex; align-items: center; color: #fff; }
.hm-phead > span { color: #fff; }
.hm-phead .hm-dlg-x { border: 0; color: #fff; cursor: pointer; }
.hm-pbody ul { display: flex; flex-direction: column; margin: 0 0 1.25rem; }
.hm-pfoot { display: flex; }
.hm-pfoot button { border: 0; color: #fff; cursor: pointer; }

/* ---------- Cookie bar + back to top ---------- */
body.hm #cookie-alert {
  background:
    radial-gradient(circle at 12% -60%, rgba(56,189,248,.35), transparent 50%),
    linear-gradient(100deg, #0a2a5c 0%, #1d3a9e 35%, #4c2bb0 68%, #8b2fa8 100%) !important;
  padding: 10px 20px !important; border-radius: 20px 20px 0 0; box-shadow: 0 -8px 24px rgba(20,10,60,.3);
}
body.hm #cookie-alert button.btn-primary {
  background: linear-gradient(180deg, #fb923c, var(--hm-orange)) !important; color: #fff !important; border: 0 !important;
  border-radius: 12px !important; font-weight: 900 !important; padding: 8px 20px !important; box-shadow: 0 4px 0 var(--hm-orange-d) !important;
  transition: transform .15s, box-shadow .15s;
}
body.hm #cookie-alert button.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--hm-orange-d) !important; }
body.hm #cookie-alert button[data-bs-target="#cookieModal"] { background: rgba(255,255,255,.18) !important; }
body.hm #backToTop { border-radius: 16px !important; box-shadow: 0 4px 0 var(--hm-orange-d) !important; transition: transform .2s; }
body.hm #backToTop:hover { transform: translateY(-4px) !important; }

/* ---------- Scroll reveal ---------- */
.hm-rv { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hm-rv.hm-in { opacity: 1; transform: none; }
.hm-rv.hm-in.problem-card, .hm-rv.hm-in.path-card, .hm-rv.hm-in.feature-card, .hm-rv.hm-in.step, .hm-rv.hm-in.hm-prog { transition: opacity .6s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }

/* ---------- Phones ---------- */
@media (max-width: 991.98px) {
  body.hm #hero > .container { margin: 20px auto !important; }
  body.hm #hero h1.hero-title { text-align: center !important; }
  body.hm #hero .d-lg-flex .btn { padding-left: 30px !important; padding-right: 30px !important; }
body.hm #hero p.fs-4 { text-align: center; margin-left: auto !important; }
  body.hm #hero img.img-fluid { transform: rotate(-1.5deg); box-shadow: 10px 10px 0 var(--hm-yellow), 0 20px 40px rgba(30,27,75,.2) !important; }
  .hm-badge.b1 { width: 70px; height: 70px; font-size: 22px; right: -6px; }
  .hm-badge.b3 { display: none; }
  body.hm .price-card.featured { transform: none; }
  body.hm .price-card.featured:hover { transform: translateY(-10px); }
}
@media (max-width: 575.98px) {
  body.hm main section { padding-top: 60px !important; padding-bottom: 60px !important; }
  body.hm .problem-card img, body.hm .path-card img { height: 200px !important; }
  body.hm #faqAccordion .accordion-body { padding: 4px 18px 20px; }
  .hm-deco { display: none; }
}

/* phone top bar + trust bar (kept last so it wins) */
@media (max-width: 575.98px) {
  body.hm nav.navbar .container-fluid { gap: 6px; padding-left: 10px; padding-right: 10px; }
  body.hm nav.navbar .navbar-brand { flex: 0 1 auto; min-width: 0; margin-right: 0; }
  body.hm .nav-logo { height: auto !important; width: 100% !important; max-width: calc(100vw - 210px); max-height: 30px; object-fit: contain; }
  .hm-mtop { gap: 6px; }
  .hm-mtop .btn { padding: 6px 11px !important; font-size: 13px !important; }
  body.hm nav .navbar-toggler { width: 40px; height: 40px; border-radius: 12px !important; }
  body.hm .trust-bar { padding: 10px 0 !important; }
  body.hm .trust-items { display: grid !important; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 6px !important; }
  body.hm .trust-item { flex-direction: column; gap: 0 !important; padding: 6px 8px; border-radius: 16px; flex: 1 1 0; min-width: 0; }
  body.hm .trust-num { font-size: 18px !important; line-height: 1.1; }
  body.hm .trust-label { font-size: 11px; line-height: 1.15; }
  body.hm .trust-item:last-child { flex: 0 0 auto; background: transparent; box-shadow: none; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hm-rv { opacity: 1; transform: none; }
}
