/* Modern home page styles — scoped to .hm / body.hm-body so other pages are untouched */
.hm {
    --hm-primary: #B666C7;
    --hm-primary-dark: #81488d;
    --hm-primary-soft: #f6eaf9;
    --hm-ink: #1c1226;
    --hm-muted: #6b6475;
    --hm-line: #ece4f0;
    --hm-radius: 20px;
    --hm-shadow: 0 10px 40px -12px rgba(129, 72, 141, .25);
    font-family: "Poppins", sans-serif;
    color: var(--hm-ink);
    overflow-x: hidden;
}

body.hm-body .navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .8) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hm-line);
}

.hm .hm-container { width: min(1160px, 92%); margin-inline: auto; }
.hm section { position: relative; }
.hm-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--hm-primary-soft); color: var(--hm-primary-dark);
    font-size: 13px; font-weight: 500; letter-spacing: .02em;
}
.hm-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hm-primary); }
.hm-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 12px; }
.hm-title span, .hm-hero h1 span {
    background: linear-gradient(90deg, var(--hm-primary), #7b3fa0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-sub { color: var(--hm-muted); font-size: 17px; line-height: 1.7; max-width: 640px; }
.hm-center { text-align: center; }
.hm-center .hm-sub { margin-inline: auto; }

.hm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1.5px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn-primary { background: linear-gradient(135deg, var(--hm-primary), var(--hm-primary-dark)); color: #fff; box-shadow: 0 10px 24px -8px rgba(129, 72, 141, .6); }
.hm-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -8px rgba(129, 72, 141, .7); }
.hm-btn-ghost { background: #fff; color: var(--hm-primary-dark); border-color: var(--hm-line); }
.hm-btn-ghost:hover { border-color: var(--hm-primary); color: var(--hm-primary-dark); }
.hm-btn-light { background: #fff; color: var(--hm-primary-dark); }
.hm-btn-light:hover { color: var(--hm-primary-dark); }

/* Hero */
.hm-hero { padding: 72px 0 96px; background:
    radial-gradient(900px 420px at 85% -10%, rgba(182, 102, 199, .22), transparent 60%),
    radial-gradient(600px 360px at 0% 10%, rgba(182, 102, 199, .12), transparent 60%), #fff; }
.hm-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hm-hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; margin: 18px 0 20px; }
.hm-hero p { color: var(--hm-muted); font-size: 17px; line-height: 1.75; }
.hm-hero .hm-more-toggle { color: var(--hm-primary-dark); font-weight: 500; text-decoration: none; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hm-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hm-line); flex-wrap: wrap; }
.hm-stats strong { display: block; font-size: 26px; font-weight: 700; color: var(--hm-primary-dark); }
.hm-stats small { color: var(--hm-muted); font-size: 13px; }
.hm-hero-visual { position: relative; }
.hm-hero-visual::before {
    content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 32px;
    background: linear-gradient(135deg, var(--hm-primary), #7b3fa0); opacity: .16; transform: rotate(3deg);
}
.hm-laptop { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(60, 20, 80, .25)); animation: hm-float 6s ease-in-out infinite; }
@keyframes hm-float { 50% { transform: translateY(-10px); } }
.hm-chip {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--hm-line); border-radius: 14px;
    padding: 10px 14px; font-size: 13px; font-weight: 500; box-shadow: var(--hm-shadow);
}
.hm-chip i { width: 30px; height: 30px; border-radius: 9px; background: var(--hm-primary-soft); display: grid; place-items: center; font-style: normal; }
.hm-chip-1 { left: -18px; bottom: 14%; }
.hm-chip-2 { right: -10px; top: 6%; }

/* Partners */
.hm-partners { padding: 0 0 8px; margin-top: -32px; z-index: 2; }
.hm-marquee {
    display: flex; align-items: center; gap: 32px; padding: 26px 36px; border-radius: 24px;
    background: linear-gradient(135deg, #2a1235, #5a2a6b); box-shadow: 0 24px 50px -20px rgba(42, 18, 53, .55);
}
.hm-marquee-label { flex: none; color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; max-width: 130px; }
.hm-marquee-viewport {
    flex: 1; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hm-marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: hm-scroll 28s linear infinite; }
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
.hm-marquee-track img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; transition: opacity .25s; }
.hm-marquee-track img:hover { opacity: 1; }
@keyframes hm-scroll { to { transform: translateX(calc(-50% - 36px)); } }
@media (max-width: 767px) {
    .hm-marquee { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 20px; }
    .hm-marquee-label { max-width: none; }
    .hm-marquee-viewport { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hm-marquee-track { animation: none; } }

/* Features */
.hm-features { padding: 96px 0 40px; }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 48px; }
.hm-card {
    background: #fff; border: 1px solid var(--hm-line); border-radius: var(--hm-radius);
    padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hm-card:hover { transform: translateY(-6px); box-shadow: var(--hm-shadow); border-color: rgba(182, 102, 199, .5); }
.hm-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--hm-primary-soft); color: var(--hm-primary-dark); margin-bottom: 18px; transition: .25s; }
.hm-card:hover .hm-ico { background: linear-gradient(135deg, var(--hm-primary), var(--hm-primary-dark)); color: #fff; }
.hm-ico svg { width: 26px; height: 26px; }
.hm-card h5 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.hm-card p { color: var(--hm-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* Mobile app */
.hm-mobile { margin: 72px 0; padding: 88px 0 72px; background: linear-gradient(160deg, #2a1235, #5a2a6b 55%, #81488d); color: #fff; overflow: hidden; }
.hm-mobile .hm-eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.hm-mobile .hm-eyebrow::before { background: #fff; }
.hm-mobile .hm-sub { color: rgba(255, 255, 255, .78); }
.hm-mobile .hm-title span { background: none; color: #f3c9fb; }
.hm-mobile .swiper {
    position: relative; margin-top: 44px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
/* soft glow behind the fixed phone frame */
.hm-mobile .swiper::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; z-index: 0;
    transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(243, 201, 251, .45), transparent 65%);
}
.hm-mobile .swiper-wrapper { position: relative; z-index: 1; }
/* every screen is stretched to the exact size of the phone frame (291x611) so it fills it edge to edge */
.hm-mobile .swiper-slide { width: 291px; height: 611px; padding: 0; display: block; opacity: .45; transition: opacity .4s ease; }
.hm-mobile .swiper-slide-active { opacity: 1; }
/* L*.svg are 316x634 with a 28px shadow margin around the 259x577 screen: scale/offset them so the screen fills the frame window */
/* frame art (291x611): opaque bezel 16px sides/top, 20px bottom -> clip each screen to the inner window, bezel covers the seam */
.hm-mobile .swiper-slide { position: relative; background: #fff; clip-path: inset(14px 15px 18px 14px round 24px); }
.hm-mobile .swiper-slide img { position: absolute; display: block; max-width: none; width: 319.8px; height: 641.6px; left: -14.9px; top: -17.4px; }
/* phone frame stays fixed in the centre while the screens scroll beneath it */
.hm-mobile .pixel {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; z-index: 5; pointer-events: none;
    display: flex; justify-content: center;
}
.hm-mobile .pixel img { height: 611px; width: 291px; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .55)); }

/* CTA */
.hm-cta { margin: 0 0 96px; }
.hm-cta-box {
    position: relative; overflow: hidden; border-radius: 32px; padding: 64px 48px;
    background: linear-gradient(135deg, var(--hm-primary), #7b3fa0); color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.hm-cta-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -140px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.hm-cta-box h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; max-width: 640px; line-height: 1.3; margin: 0; position: relative; z-index: 1; }
.hm-cta-box p { margin: 12px 0 0; color: rgba(255, 255, 255, .85); max-width: 600px; position: relative; z-index: 1; }
.hm-cta-box .hm-btn { position: relative; z-index: 1; }

/* Packages (shared component, restyled for home only) */
.hm .packages { background: #faf6fc !important; padding: 96px 0 !important; background-image: none !important; }
.hm .package-heading h3 { font-size: clamp(28px, 4vw, 42px) !important; font-weight: 700 !important; letter-spacing: -.02em; text-align: center; color: var(--hm-ink) !important; }
.hm .package-paragraph p { text-align: center; max-width: 640px; margin: 12px auto 0; color: var(--hm-muted) !important; line-height: 1.7; }
.hm .package-container { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; margin-top: 48px; justify-items: stretch; }
.hm .package-card-body {
    width: auto !important; max-width: none !important; margin: 0 !important;
    background: #fff !important; border: 1px solid var(--hm-line) !important; border-radius: 24px !important;
    padding: 32px 28px !important; box-shadow: none !important; transition: .25s;
}
.hm .package-card-body:hover { transform: translateY(-6px); box-shadow: var(--hm-shadow) !important; border-color: var(--hm-primary) !important; }
.hm .pkg-card:nth-child(odd) .package-price { color: var(--hm-primary-dark) !important; font-weight: 700 !important; }
.hm .package-container .pkg-card:nth-child(even) {
    background: linear-gradient(160deg, var(--hm-primary), #6a2f86) !important; border-color: transparent !important;
    box-shadow: 0 24px 50px -16px rgba(106, 47, 134, .6) !important;
}
.hm .package-container .pkg-card:nth-child(even) .package-register-btn { background: #fff !important; color: var(--hm-primary-dark) !important; }
.hm .package-trial-badge { font-size: 13px; font-weight: 500; }
.hm .package-register-btn {
    border-radius: 999px !important; border: 0 !important; padding: 12px 28px !important; font-weight: 600;
    background: linear-gradient(135deg, var(--hm-primary), var(--hm-primary-dark)) !important; color: #fff !important; transition: .2s;
}
.hm .package-register-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(129, 72, 141, .6); }

/* FAQ (shared component, restyled for home only) */
.hm .faq { width: min(1160px, 92%); margin-inline: auto; gap: 56px; align-items: flex-start; background: #fff !important; background-image: none !important; padding: 96px 0 !important; height: auto !important; }
.hm .faq-left, .hm .faq-right { background: transparent !important; padding: 0 !important; }
.hm .faq-left { position: sticky; top: 110px; }
.hm .faq-left-heading, .hm .faq-left-content { padding: 0 !important; }
.hm .faq-left-heading p { font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; color: var(--hm-ink); }
.hm .faq-left-content p { color: var(--hm-muted); line-height: 1.7; font-size: 16px; }
.hm .faq-right { gap: 0 !important; }
.hm .faq-question, .hm .faq-answer { background: #fff !important; font-size: 16px; color: var(--hm-ink); }
.hm .faq-answer { color: var(--hm-muted); }
@media (max-width: 991px) { .hm .faq { flex-direction: column; gap: 28px; } .hm .faq-left { position: static; } }
.hm .faq .accordion-item { border: 1px solid var(--hm-line) !important; border-radius: 16px !important; overflow: hidden; margin-bottom: 14px; box-shadow: none !important; }
.hm .faq .accordion-button { font-weight: 600; background: #fff !important; box-shadow: none !important; padding: 20px 24px; }
.hm .faq .accordion-button:not(.collapsed) { color: var(--hm-primary-dark) !important; background: var(--hm-primary-soft) !important; }
.hm .faq .accordion-body { color: var(--hm-muted); line-height: 1.75; }

@media (max-width: 991px) {
    .hm-hero { padding: 48px 0 64px; }
    .hm-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hm-chip-1 { left: 0; } .hm-chip-2 { right: 0; }
    .hm-cta-box { padding: 40px 28px; border-radius: 24px; }
    .hm-features, .hm .packages, .hm .faq { padding-block: 64px !important; }
}
@media (prefers-reduced-motion: reduce) { .hm-laptop { animation: none; } .hm-btn, .hm-card { transition: none; } }

/* ---- Packages: modern pricing cards (home only) ---- */
.hm .packages { background: linear-gradient(180deg, #fff, #faf3fc 40%, #fff) !important; }
.hm .package-heading { line-height: 1.2 !important; }
.hm .package-heading::before {
    content: "Pricing"; display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
    background: var(--hm-primary-soft); color: var(--hm-primary-dark); font-size: 13px; font-weight: 500; letter-spacing: .02em;
}
.hm .package-container { align-items: stretch; gap: 28px; }
.hm .pkg-card {
    position: relative; display: flex; flex-direction: column; text-align: left !important;
    padding: 36px 30px 30px !important; border-radius: 28px !important;
}
.hm .pkg-card .package-trial-badge {
    align-self: flex-start; display: inline-flex !important; align-items: center; gap: 6px;
    background: var(--hm-primary-soft) !important; color: var(--hm-primary-dark) !important; padding: 6px 14px; font-size: 12.5px;
}
.hm .pkg-card .package-trial-badge img { width: 14px; height: 14px; }
.hm .pkg-card h2 { font-size: 26px; font-weight: 700; margin: 18px 0 2px; letter-spacing: -.01em; }
.hm .pkg-card .package-price { text-align: left !important; font-size: 44px !important; line-height: 1.1; padding: 6px 0 0 !important; order: 0; }
.hm .pkg-card .package-price span { color: var(--hm-muted); font-weight: 500; font-size: 15px !important; }
.hm .pkg-card .package-sub-text { color: var(--hm-muted) !important; font-size: 14px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--hm-line); }
.hm .pkg-card h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hm-muted); margin-bottom: 12px; }
.hm .pkg-card .package-features-text { display: block; flex: 1; color: var(--hm-ink); font-size: 14.5px; line-height: 1.5; text-align: left; margin-bottom: 24px; }
.hm .pkg-card .package-features-text ul { list-style: none; padding: 0; margin: 0; }
.hm .pkg-card .package-features-text li { position: relative; padding: 6px 0 6px 30px; }
.hm .pkg-card .package-features-text li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--hm-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2381488d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hm .pkg-card form { align-items: stretch !important; }
.hm .pkg-card .package-register-btn { width: 100%; padding: 14px 28px !important; }
.hm .pkg-card .free_trail_btn { color: var(--hm-primary-dark) !important; font-weight: 500; font-size: 14px; background: transparent !important; text-decoration: none !important; }
.hm .pkg-card .free_trail_btn:hover { text-decoration: underline !important; }

/* featured (every second) card */
.hm .package-container .pkg-card:nth-child(even) { transform: translateY(-8px); }
.hm .package-container .pkg-card:nth-child(even):hover { transform: translateY(-14px); }
.hm .package-container .pkg-card:nth-child(even)::after {
    content: "Most popular"; position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .2); color: #fff; font-size: 12px; font-weight: 500; backdrop-filter: blur(6px);
}
.hm .package-container .pkg-card:nth-child(even) h2,
.hm .package-container .pkg-card:nth-child(even) .package-features-text,
.hm .package-container .pkg-card:nth-child(even) .package-price,
.hm .package-container .pkg-card:nth-child(even) .package-price span,
.hm .package-container .pkg-card:nth-child(even) .package-sub-text,
.hm .package-container .pkg-card:nth-child(even) h4 { color: #fff !important; }
.hm .package-container .pkg-card:nth-child(even) .package-sub-text { border-color: rgba(255, 255, 255, .3); opacity: .9; }
.hm .package-container .pkg-card:nth-child(even) h4 { opacity: .75; }
.hm .package-container .pkg-card:nth-child(even) .package-trial-badge { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
.hm .package-container .pkg-card:nth-child(even) .package-features-text li::before { background-color: rgba(255, 255, 255, .22); filter: brightness(0) invert(1); }
.hm .package-container .pkg-card:nth-child(even) .free_trail_btn { color: #fff !important; }
@media (max-width: 991px) { .hm .package-container .pkg-card:nth-child(even) { transform: none; } }
.hm .pkg-card { gap: 0 !important; }
.hm .pkg-card .package-trial-badge { order: 0; }
.hm .pkg-card h2 { order: 1; margin: 20px 0 0; }
.hm .pkg-card .package-price { order: 2; margin-bottom: 4px; }
.hm .pkg-card .package-sub-text { order: 3; }
.hm .pkg-card h4 { order: 4; }
.hm .pkg-card .package-features-text { order: 5; }
.hm .pkg-card form { order: 6; }
.hm .pkg-card:nth-child(odd) .package-trial-badge img { filter: brightness(0) saturate(100%) invert(30%) sepia(30%) saturate(1500%) hue-rotate(250deg); }

/* ---- FAQ: separate dark section (home only) ---- */
.hm section:has(> .faq) {
    padding: 110px 0; overflow: hidden;
    background:
        radial-gradient(700px 400px at 90% 0%, rgba(182, 102, 199, .35), transparent 60%),
        radial-gradient(500px 360px at 0% 100%, rgba(182, 102, 199, .22), transparent 60%),
        linear-gradient(160deg, #1f0d29, #3d1b4c 60%, #55276a);
}
.hm .faq { padding: 0 !important; background: transparent !important; display: grid !important; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.hm .faq-left { position: sticky; top: 120px; }
.hm .faq-left-heading p { color: #fff !important; }
.hm .faq-left-heading p::before {
    content: "FAQ"; display: block; width: max-content; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .06em;
}
.hm .faq-left-content p { color: rgba(255, 255, 255, .72) !important; }
.hm .faq-right { display: flex; flex-direction: column; gap: 14px !important; }
.hm .faq .faq-item { margin: 0; }
.hm .faq .accordion-item {
    margin: 0 !important; background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 18px !important; backdrop-filter: blur(8px); transition: background .25s, border-color .25s;
}
.hm .faq .accordion-item:hover { border-color: rgba(243, 201, 251, .5) !important; }
.hm .faq .faq-question { background: transparent !important; color: #fff !important; font-weight: 500; padding: 22px 26px; box-shadow: none !important; }
.hm .faq .faq-question:not(.collapsed) { background: rgba(182, 102, 199, .28) !important; color: #fff !important; }
.hm .faq .faq-question::after { filter: brightness(0) invert(1); }
.hm .faq .faq-answer { background: transparent !important; color: rgba(255, 255, 255, .78) !important; padding: 6px 26px 24px; font-size: 15.5px; }
@media (max-width: 991px) {
    .hm section:has(> .faq) { padding: 72px 0; }
    .hm .faq { grid-template-columns: 1fr; gap: 32px; }
    .hm .faq-left { position: static; }
}

/* ---- Smooth anchors for single-page navigation ---- */
html { scroll-behavior: smooth; }
.hm [id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Contact (home only) ---- */
.hm-contact { padding: 110px 0; background: linear-gradient(180deg, #fff, #faf3fc); }
.hm-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; margin-top: 52px; align-items: stretch; }
.hm-contact-info { display: flex; flex-direction: column; gap: 18px; }
.hm-contact-item {
    display: flex; gap: 18px; align-items: flex-start; flex: 1; padding: 26px; background: #fff;
    border: 1px solid var(--hm-line); border-radius: var(--hm-radius); transition: .25s;
}
.hm-contact-item:hover { transform: translateX(6px); box-shadow: var(--hm-shadow); border-color: rgba(182, 102, 199, .5); }
.hm-contact-item .hm-ico { margin: 0; flex: none; }
.hm-contact-item h5 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.hm-contact-item p { color: var(--hm-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.hm-contact-form {
    background: #fff; border: 1px solid var(--hm-line); border-radius: 28px; padding: 38px;
    box-shadow: 0 30px 60px -30px rgba(129, 72, 141, .35);
}
.hm-contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.hm-field { margin-bottom: 18px; }
.hm-field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--hm-muted); margin-bottom: 6px; }
.hm-field input, .hm-field textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--hm-line); border-radius: 14px; background: #fcfafd;
    font: inherit; color: var(--hm-ink); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.hm-field input:focus, .hm-field textarea:focus { outline: 0; background: #fff; border-color: var(--hm-primary); box-shadow: 0 0 0 4px rgba(182, 102, 199, .18); }
.hm-contact-form .hm-btn { border: 0; cursor: pointer; }
@media (max-width: 991px) {
    .hm-contact { padding: 72px 0; }
    .hm-contact-grid { grid-template-columns: 1fr; }
    .hm-contact-form { padding: 26px; }
}

/* navbar: keep 7 links on one line */
body.hm-body .navbar-nav { gap: 6px 18px; }
body.hm-body .navbar-nav > a { white-space: nowrap; font-weight: 500; font-size: 15px; transition: color .2s; }
body.hm-body .navbar-nav > a:not(.btn):hover { color: var(--hm-primary) !important; }
body.hm-body .navbar-nav .nav-btn { white-space: nowrap; }
body.hm-body .navbar-nav .d-flex img { width: 6.2rem !important; }
@media (max-width: 1199px) and (min-width: 992px) { body.hm-body .navbar-nav .d-flex { display: none !important; } }

/* ---- Hero laptop: dashboard drawn in HTML/CSS so it stays crisp at any size ---- */
.lp-lid { position: relative; padding: 2.4% 2.4% 2.8%; border-radius: 16px 16px 5px 5px; background: linear-gradient(180deg, #2c2c33, #17171c); border: 1px solid #44444d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.lp-cam { position: absolute; top: 1.1%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #08080b; box-shadow: 0 0 0 1px #2a2a31; }
.lp-screen { container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #f8f9fe; font-family: "Roboto", "Poppins", sans-serif; }
.lp-base { position: relative; height: clamp(9px, 2.6%, 16px); margin: 0 -4.5%; border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px; background: linear-gradient(180deg, #e4e4e9, #b3b3bc 70%, #9d9da6); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
.lp-base span { position: absolute; left: 50%; top: 0; width: 16%; height: 55%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #a9a9b3, #c9c9d0); }

.db { padding: 2.6cqw 2.2cqw; color: #212529; }
.db-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2.4cqw; }
.db-welcome { font-size: 2.1cqw; font-weight: 500; }
.db-date { font-size: 1.15cqw; }
.db-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8cqw; }
.db-card { background: #fff; border-radius: .5cqw; box-shadow: 0 .15cqw .5cqw rgba(60, 60, 120, .08); padding: 2cqw 1cqw 1.7cqw; text-align: center; }
.db-card svg { display: block; width: 3cqw; height: 3cqw; margin: 0 auto .7cqw; }
.db-card strong { display: block; font-size: 2.5cqw; font-weight: 400; line-height: 1.15; }
.db-card span { display: block; margin-top: .5cqw; font-size: 1.05cqw; color: #5d6470; }
.db-board { width: 49%; margin-top: 2.6cqw; background: #fff; border-radius: .5cqw; overflow: hidden; box-shadow: 0 .15cqw .5cqw rgba(60, 60, 120, .08); }
.db-board-head { padding: 1.1cqw; text-align: center; font-size: 1.15cqw; color: #fff; background: #7e5bc2; }
.db-board table { width: 100%; border-collapse: collapse; font-size: 1cqw; text-align: center; }
.db-board th, .db-board td { padding: .85cqw .6cqw; border: 1px solid #e3e1f1; border-top: 0; }
.db-board th { font-weight: 700; color: #111; }
.db-board th:first-child, .db-board td:first-child { width: 11%; border-left: 0; }
.db-board th:last-child, .db-board td:last-child { border-right: 0; }
.db-board td { color: #1c1c47; }
.db-row { display: grid; grid-template-columns: 49% 1fr; gap: 1.8cqw; margin-top: 2.6cqw; align-items: start; }
.db-row .db-board { width: auto; margin-top: 0; }
.db-ring { background: #fff; border-radius: .5cqw; box-shadow: 0 .15cqw .5cqw rgba(60, 60, 120, .08); padding: 1.6cqw 1cqw; text-align: center; height: 100%; }
.db-ring-head { font-size: 1.15cqw; font-weight: 500; margin-bottom: 1.2cqw; }
.db-ring i { display: block; width: 11cqw; height: 11cqw; margin: 0 auto; border-radius: 50%; background: conic-gradient(#7e5bc2 0 60%, #e9e5f6 60% 100%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.db-ring p { margin: 1.2cqw 0 0; font-size: 1cqw; color: #5d6470; }
.db-ring p b { color: #7e5bc2; font-weight: 700; }
.hm-hero-visual .hm-chip-2 { top: -3%; right: -3%; }
.hm-hero-visual .hm-chip-1 { left: -6%; bottom: 4%; }

/* ---- Hero laptop: real MacBook frame (MacBook.png 778x492), dashboard overlaid exactly on its screen (x159 y75 511x319) ---- */
.hm-laptop .lp-frame { display: block; width: 100%; height: auto; border-radius: 0; }
.hm-laptop .lp-wrap { position: absolute; left: 20.44%; top: 15.24%; width: 65.68%; height: 64.84%; overflow: hidden; border-radius: 2px; }
.hm-laptop .lp-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
/* MacBook.png has ~33% transparent margin: enlarge so the visible laptop fills the hero column */
.hm-laptop { width: 134%; margin: -7% -17%; max-width: none; }
@media (max-width: 991px) { .hm-laptop { width: 112%; margin: -4% -6%; } }
