/* === Home / Public Marketing Landing Page — Figma-matched === */

/* ============================================================
   GLOBAL TOKENS & RESETS
   ============================================================ */
:root {
    --hp-grad: linear-gradient(90deg, #246DFF 0%, #07C3D6 100%);
    --hp-grad-rev: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #06b6d4 100%);
    --hp-dark: #0f172a;
    --hp-dark-2: #1F1F1F;
    --hp-dark-3: #1A2A3A;
    --hp-surface: #f8fafc;
    --hp-white: #ffffff;
    --hp-text: #0f172a;
    --hp-muted: #64748b;
    --hp-muted-2: #7A8392;
    --hp-border: #e2e8f0;
    --hp-green: #10b981;
    --hp-radius: 14px;
    --hp-section-py: 90px;
    --hp-transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --blue: #1870D1;
    --bg-light: #F5F5FF;
    --bg-light-green: #ECF5EC;
    --green: #61B85F;
    --dark: #706F6B;
    --dark-2: #1E1E1E;
    --ocean-blue: #0BA6DF;
    --blue-2: #246DFF;
    --light-blue: #07C3D6;
    --black: #000;
    --gray: #454545;
    --light: #D9D9D9;
}

body {
    font-family: "Montserrat", sans-serif;
}

.public-main {
    background: #fff;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
}
.green { background: var(--green) !important;}
.light-bg { background: var(--bg-light);}
.ocean-blue-bg { background: var(--ocean-blue) !important;}
.bg-blue { background: var(--blue-2) !important;}
.text-white { color: #fff; }
.light-blue { color: var(--light-blue) !important;}
.blue { color: var(--blue);}

/* ============================================================
   dark
   ============================================================ */
   .bg-light2 {
    background: url(../images/bg2.webp) no-repeat center center;
    background-size: cover;
}

/* Base dark palette (body, header, main, footer) lives in _PublicLayout.cshtml.
   Rules below only target elements that have a non-transparent fill in light
   mode and need to flip on dark. */

html[data-theme="dark"] .hp-hero-inner {
    background: var(--hp-hero-bg-dark, var(--hp-hero-bg, url(../images/bg.webp))) no-repeat center center !important;
    background-size: cover !important;
}

html[data-theme="dark"] .hp-approval-checks li::before {
    filter: brightness(5.5) !important;
}

html[data-theme="dark"] .hp-stats-bar .item,
html[data-theme="dark"] .stat-item {
    background: #fff;
}

html[data-theme="dark"] .hp-stats-bar .item .stat-text h3,
html[data-theme="dark"] .hp-stats-bar .item .stat-text p {
    color: var(--black) !important;
}

html[data-theme="dark"] .hp-stats-bar .item .stat-icon img {
    filter: brightness(0) invert(1) !important;
}

html[data-theme="dark"] .hp-testimonial-card {
    background: #1c2231;
    border-color: #2a3142;
}

html[data-theme="dark"] .hp-testimonial-card .content {
    background: #232a3a;
}

html[data-theme="dark"] .hp-testimonial-name {
    color: #e8ecf5 !important;
}

html[data-theme="dark"] .hp-testimonial-role {
    color: #8d95a8 !important;
}

html[data-theme="dark"] .hp-testimonial-card p {
    color: #c6cbd8 !important;
}

/* Landing modules — dark mode */
html[data-theme="dark"] .hp-features-tabs {
    background: #1c2231;
}

html[data-theme="dark"] .hp-tab-pill {
    color: #e8ecf5;
}

html[data-theme="dark"] .hp-tab-pill:hover:not(.active) {
    background: rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .hp-feature-panel:not([style*="background"]) {
    background: #111c33;
}

html[data-theme="dark"] .hp-feature-panel::before {
    border-color: rgba(255, 255, 255, .14);
}

html[data-theme="dark"] .hp-feature-panel::after {
    background: rgba(255, 255, 255, .06);
}

html[data-theme="dark"] .hp-feature-body .title {
    color: #e8ecf5 !important;
}

html[data-theme="dark"] .hp-feature-body p {
    color: #c6cbd8 !important;
}

html[data-theme="dark"] .hp-feature-learnmore {
    background: var(--hp-grad);
    color: #ffffff;
}

html[data-theme="dark"] .hp-feature-learnmore:hover,
html[data-theme="dark"] .hp-feature-learnmore:focus-visible {
    background: #07c3d6;
    color: #ffffff;
}

html[data-theme="dark"] .pricing-card .title,
html[data-theme="dark"] .pricing-card p,
html[data-theme="dark"] .pricing-card .cost small {
    color: #fff !important;
}

html[data-theme="dark"] .featured .btn-choose {
    color: var(--black) !important;
}

html[data-theme="dark"] .bg-light2 {
    background: var(--hp-dark) !important;
}

html[data-theme="dark"] .hp-cta-input-row,
html[data-theme="dark"] .hp-cta-input-row input {
    background: #fff !important;
}

html[data-theme="dark"] .hp-cta-section {
    margin-top: 0;
    padding-top: 100px;
}

/* Section backgrounds & helpers */
html[data-theme="dark"] .public-main {
    background: #0f172a;
}

html[data-theme="dark"] .light-bg {
    background: #111c33 !important;
}

html[data-theme="dark"] .hp-heading {
    color: #e2e8f0;
}

html[data-theme="dark"] .hp-subtext {
    color: #94a3b8;
}

/* Hero content card */
html[data-theme="dark"] .hp-hero-content-card {
    background: #0c1a2e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .hp-hero-heading {
    color: #f1f5f9;
}

html[data-theme="dark"] .hp-hero-sub {
    color: #94a3b8;
}

html[data-theme="dark"] .hp-hero-badge {
    color: #e2e8f0;
    border-color: #07C3D6;
}

html[data-theme="dark"] .hp-btn-dark {
    background: #0b1220 !important;
}

/* Features — tabs + cards */
html[data-theme="dark"] .hp-features-tabs {
    background: #162544 !important;
}

html[data-theme="dark"] .hp-tab-pill {
    background: #0c1a2e;
    border-color: #1e2a44;
    color: #cbd5e1;
}

html[data-theme="dark"] .hp-tab-pill:hover {
    border-color: #38bdf8;
    color: #7dd3fc;
}

/* Dark-mode active state for feature tab pills — must outrank
   `html[data-theme="dark"] .hp-tab-pill` (0,2,1). */
html[data-theme="dark"] .hp-tab-pill.active,
html[data-theme="dark"] .hp-tab-pill.active:hover {
    background: var(--zf-primary, #246DFF);
    border-color: var(--zf-primary, #246DFF);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(36, 109, 255, .55);
}

html[data-theme="dark"] .hp-feature-card {
    background: #111c33 !important;
}

html[data-theme="dark"] .hp-feature-body .title,
html[data-theme="dark"] .hp-feature-body p {
    color: #e2e8f0;
}

/* Built-around list + approval card */
html[data-theme="dark"] .hp-built-list {
    background: #0c1a2e;
}

html[data-theme="dark"] .hp-built-list-item {
    background: #111c33;
}

html[data-theme="dark"] .hp-built-list-item strong {
    color: #e2e8f0;
}

html[data-theme="dark"] .hp-built-list-item p {
    color: #94a3b8;
}

html[data-theme="dark"] .hp-built-list .icon {
    background: #1e2a44;
}

/* Dark-mode active state for built-list items — must outrank
   `html[data-theme="dark"] .hp-built-list-item` (0,2,1). */
html[data-theme="dark"] .hp-built-list-item.active {
    background: var(--blue);
}

html[data-theme="dark"] .hp-built-list-item.active strong,
html[data-theme="dark"] .hp-built-list-item.active p {
    color: #fff;
}

html[data-theme="dark"] .hp-approval-card {
    background: #0c1a2e;
    border-color: #1e2a44;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .hp-approval-title {
    color: #f1f5f9;
}

html[data-theme="dark"] .hp-approval-desc {
    color: #94a3b8;
}

html[data-theme="dark"] .hp-approval-checks li {
    color: #cbd5e1;
}

/* Timeline */
html[data-theme="dark"] .hp-timeline-step h5 {
    color: #e2e8f0;
}

html[data-theme="dark"] .hp-timeline-step p {
    color: #94a3b8;
}

/* FAQ accordion */
html[data-theme="dark"] .hp-faq .accordion-item {
    background: #0c1a2e;
    border-color: #1e2a44;
}

html[data-theme="dark"] .hp-faq .accordion-button,
html[data-theme="dark"] .hp-faq .accordion-button:not(.collapsed) {
    background: #0c1a2e;
    color: #e2e8f0;
}

html[data-theme="dark"] .hp-faq .accordion-button::after {
    filter: brightness(0) invert(1);
}

html[data-theme="dark"] .hp-faq .accordion-body {
    color: #94a3b8;
    background: #0c1a2e;
}

html[data-theme="dark"] .hp-faq .accordion-header {
    color: #e2e8f0;
}

/* Pricing card (non-featured) */
html[data-theme="dark"] .pricing-card {
    background: #0c1a2e;
    border-color: #1e2a44;
}

html[data-theme="dark"] .pricing-card li {
    color: #cbd5e1;
}

html[data-theme="dark"] .pricing-card .cost {
    color: #f1f5f9;
}

html[data-theme="dark"] .btn-choose {
    background: #111c33;
    border-color: #1e2a44;
    color: #e2e8f0;
}

html[data-theme="dark"] .btn-choose:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* ============================================================
   dark end
============================================================ */

/* ============================================================
Theme toggle
============================================================ */
.zf-theme-toggle {
    width: 68px;
    height: 35px;
    background: #fff;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 11px;
    border: none;
    outline: none;
}

.zf-theme-toggle:focus-visible {
    box-shadow: 0 0 0 3px var(--zf-primary-light);
}

.zf-theme-toggle--dark {
    background: #2b2b2b;
}

.zf-theme-toggle__icon {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
}

.zf-theme-toggle__icon img {
    width: 16px;
}

.zf-theme-toggle__light {
    filter: brightness(0) invert(1);
}

.zf-theme-toggle--dark .zf-theme-toggle__light {
    filter: none;
}

.zf-theme-toggle--dark .zf-theme-toggle__dark {
    filter: brightness(0) invert(1);
}

.zf-theme-toggle__knob {
    width: 28px;
    height: 28px;
    background: var(--zf-primary);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 5px;
    transition: all 0.3s ease;
}

.zf-theme-toggle--dark .zf-theme-toggle__knob {
    left: 35px;
}
html[data-theme="dark"] body * .zf-theme-toggle span {background: none;}
html[data-theme="dark"] body .zf-theme-toggle__knob { background: var(--blue) !important;}
/* ============================================================
Theme toggle end
============================================================ */

/* ============================================================
SHARED HELPERS
============================================================ */
.hp-section {
    padding: var(--hp-section-py) 0;
}

/* header background now in _PublicLayout */

.hp-eyebrow {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    background: var(--light-blue) !important;
    padding: 5px 16px;
    display: inline-flex;
    border-radius: 20px;
    margin-bottom: 10px;
}

.hp-heading {
    font-weight: 700;
    font-size: 35px;
    line-height: 48px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--hp-dark-2);
}

.hp-heading-serif {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
}

.hp-subtext {
    font-size: 1.05rem;
    color: var(--hp-muted);
    max-width: 600px;
    line-height: 1.7;
}

.hp-grad-text {
    color: var(--blue);
}

/* Scroll reveal */
.hp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hp-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.hp-reveal-delay-1 { transition-delay: 0.15s; }
.hp-reveal-delay-2 { transition-delay: 0.3s; }
.hp-reveal-delay-3 { transition-delay: 0.45s; }

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
    background: var(--hp-hero-bg, url(../images/bg.webp)) no-repeat center center !important;
    background-size: cover !important;
    height: 720px;
}

.hp-hero-bg-image {
    position: absolute;
    inset: 0;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 900"><rect fill="%23cbd5e1" width="1920" height="900"/><rect x="100" y="300" width="80" height="200" rx="5" fill="%2394a3b8"/><rect x="250" y="280" width="80" height="220" rx="5" fill="%23a1a1aa"/><rect x="400" y="310" width="80" height="190" rx="5" fill="%2394a3b8"/><rect x="550" y="290" width="80" height="210" rx="5" fill="%23a1a1aa"/><rect x="700" y="270" width="80" height="230" rx="5" fill="%2394a3b8"/><rect x="0" y="0" width="1920" height="200" fill="%2387ceeb" opacity="0.3"/><rect x="0" y="500" width="1920" height="400" fill="%23e2e8f0"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hp-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(14,165,233,0.92) 0%,
        rgba(6,182,212,0.85) 30%,
        rgba(37,99,235,0.88) 70%,
        rgba(37,99,235,0.95) 100%);
    z-index: 1;
}

.hp-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 100px;
}

/* Centered hero content card */
.hp-hero-content-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* min-height keeps the visual rhythm with normal-length copy, but lets the card grow
       when the CMS-authored title or subtitle is longer than usual — otherwise the CTA
       overflows the card and is hidden behind the dashboard mock image below. */
    min-height: 590px;
    /* The dashboard preview frame below uses margin-top: -160px and z-index: 9 to "rise
       into" the hero band. With short content that overlap is invisible (just card
       padding), but with longer titles/subtitles the CTA can land in the overlap zone.
       position+z-index keeps the card and its CTA above the dashboard image regardless. */
    position: relative;
    z-index: 3;
}

.hp-hero-badge {
    padding: 7px 20px;
    border-radius: 100px;
    margin-bottom: 1.75rem;
    border: 2px solid #07C3D6;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    text-transform: uppercase;
    color: #1E1E1E;
    text-align: center;
    display: inline-flex;
}

.hp-hero-heading {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
    font-family: "Montserrat", sans-serif;
}

.hp-hero-heading .accent {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-hero-sub {
    font-size: 1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hp-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(90deg, #246DFF 0%, #07C3D6 100%) !important;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    padding: 14px 23px;
    border-radius: 35px;
    border: none;
    text-decoration: none;
    transition: all 0.4s ease;
}

.hp-btn-primary:hover {
    background: var(--hp-dark-2);
    color: #fff;
}

.hp-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--hp-dark-2) !important;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    padding: 14px 23px;
    border-radius: 35px;
    border: none;
    text-decoration: none;
    transition: all 0.4s ease;
}

.hp-btn-dark:hover {
    background: linear-gradient(90deg, #246DFF 0%, #07C3D6 100%) !important;
    color: #fff;
}

/* ── Pricing "See All Pricing" CTA cluster ── */
.hp-pricing-cta-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 8px 0 4px;
    isolation: isolate;
}

/* The pricing section's standard 90px bottom padding stacks on top of the
   next section's top padding (the CTA band's ~32-56px), leaving the "See
   All Pricing" button floating in nearly 100px of empty air. Compress just
   this section's tail. */
#pricing.hp-section {
    padding-bottom: 32px;
}

.hp-pricing-cta-wrap::before {
    content: "";
    position: absolute;
    inset: 0 50% auto 50%;
    width: 360px;
    height: 220px;
    transform: translate(-50%, -10%);
    background: radial-gradient(closest-side, rgba(36, 109, 255, 0.18), rgba(7, 195, 214, 0.08) 55%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    filter: blur(2px);
}

.hp-pricing-cta-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hp-muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hp-pricing-cta-kicker::before,
.hp-pricing-cta-kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hp-border));
}

.hp-pricing-cta-kicker::after {
    background: linear-gradient(90deg, var(--hp-border), transparent);
}

.hp-pricing-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 16px 28px;
    border-radius: 999px;
    background: var(--hp-grad);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 14px 30px -14px rgba(36, 109, 255, 0.55),
        0 6px 14px -8px rgba(7, 195, 214, 0.45);
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.25, 1),
                box-shadow 0.25s ease,
                filter 0.25s ease;
}

.hp-pricing-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.hp-pricing-cta-label {
    position: relative;
    z-index: 1;
}

.hp-pricing-cta-arrow {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    transition: background 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.hp-pricing-cta-arrow i {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.hp-pricing-cta:hover,
.hp-pricing-cta:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    filter: saturate(1.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 22px 38px -16px rgba(36, 109, 255, 0.6),
        0 10px 20px -10px rgba(7, 195, 214, 0.5);
}

.hp-pricing-cta:hover .hp-pricing-cta-arrow,
.hp-pricing-cta:focus-visible .hp-pricing-cta-arrow {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(3px);
}

.hp-pricing-cta:hover .hp-pricing-cta-arrow i,
.hp-pricing-cta:focus-visible .hp-pricing-cta-arrow i {
    transform: translateX(2px);
}

.hp-pricing-cta:focus-visible {
    outline: 2px solid rgba(36, 109, 255, 0.55);
    outline-offset: 4px;
}

@media (max-width: 540px) {
    .hp-pricing-cta-wrap { margin-top: 40px; }
    .hp-pricing-cta { padding: 14px 18px 14px 22px; font-size: 0.9rem; }
    .hp-pricing-cta-arrow { width: 26px; height: 26px; }
    .hp-pricing-cta-kicker::before,
    .hp-pricing-cta-kicker::after { width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-pricing-cta,
    .hp-pricing-cta-arrow,
    .hp-pricing-cta-arrow i { transition: none; }
    .hp-pricing-cta:hover { transform: none; }
}

html[data-theme="dark"] .hp-pricing-cta-wrap::before {
    background: radial-gradient(closest-side, rgba(36, 109, 255, 0.28), rgba(7, 195, 214, 0.12) 55%, transparent 75%);
}

html[data-theme="dark"] .hp-pricing-cta-kicker {
    color: #94a3b8;
}

html[data-theme="dark"] .hp-pricing-cta-kicker::before,
html[data-theme="dark"] .hp-pricing-cta-kicker::after {
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35));
}

html[data-theme="dark"] .hp-pricing-cta-kicker::after {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.35), transparent);
}

html[data-theme="dark"] .hp-pricing-cta {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 16px 34px -14px rgba(36, 109, 255, 0.7),
        0 8px 16px -10px rgba(7, 195, 214, 0.55);
}

/* ── Dashboard Preview ── */
.hp-dashboard-preview {
    position: relative;
    z-index: 2;
    padding: 30px 0 0;
    background: radial-gradient(96.12% 281.47% at 93.49% 16.09%, #EDF5FF 0%, #FEFEFE 100%);
}
.hp-dashboard-preview .hp-dashboard-frame {
    position: relative;
    z-index: 9;
    margin-top: -160px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px 80px;
}
.hp-dashboard-img { display: block; width: 100%; height: auto; border-radius: 12px; }
.hp-dashboard-img--dark { display: none; }
html[data-theme="dark"] .hp-dashboard-img--light { display: none; }
html[data-theme="dark"] .hp-dashboard-img--dark { display: block; }

.hp-dash-topbar {
    background: linear-gradient(135deg, #0891b2, #0ea5e9);
    color: #fff;
    padding: .6rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    font-weight: 600;
}

.hp-dash-topbar-title { opacity: .95; }
.hp-dash-topbar-date { opacity: .7; font-size: .7rem; }

.hp-dash-body {
    display: flex;
    min-height: 380px;
}

.hp-dash-sidebar {
    width: 180px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: .75rem 0;
    flex-shrink: 0;
}

.hp-dash-logo {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem .75rem;
    font-weight: 700;
    font-size: .7rem;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: .5rem;
}

.hp-dash-nav-item {
    padding: .35rem .75rem;
    font-size: .68rem;
    color: #64748b;
    cursor: default;
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: .1rem .5rem;
    border-radius: 6px;
}

.hp-dash-nav-item.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.hp-dash-nav-item i { font-size: .75rem; }

.hp-dash-main {
    flex: 1;
    padding: 1rem 1.25rem;
    overflow: hidden;
}

.hp-dash-greeting {
    font-size: .9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .75rem;
}

.hp-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}

.hp-dash-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: .6rem .75rem;
    text-align: left;
}

.hp-dash-stat-label {
    font-size: .55rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

.hp-dash-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
}

.hp-dash-stat-sub {
    font-size: .55rem;
    color: #94a3b8;
}

/* Charts */
.hp-dash-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1rem;
}

.hp-dash-chart-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: .6rem .75rem;
}

.hp-dash-chart-title {
    font-size: .7rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}

.hp-dash-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: .4rem;
    height: 80px;
}

.hp-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
}

.hp-bar-col span {
    font-size: .5rem;
    color: #94a3b8;
}

.hp-bar {
    width: 100%;
    background: linear-gradient(180deg, #3b82f6, #93c5fd);
    border-radius: 3px 3px 0 0;
    min-height: 4px;
}

.hp-dash-pie-area {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.hp-dash-pie {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(#3b82f6 0% 45%, #10b981 45% 63%, #f59e0b 63% 80%, #ef4444 80% 85%, #94a3b8 85% 100%);
    flex-shrink: 0;
    position: relative;
}

.hp-dash-pie::after {
    content: '';
    position: absolute;
    inset: 18px;
    background: #fff;
    border-radius: 50%;
}

.hp-dash-pie-legend {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.hp-dash-pie-legend span {
    font-size: .55rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.hp-dash-pie-legend span i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
    font-style: normal;
}

/* Dashboard table */
.hp-dash-table-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: .6rem .75rem;
}

.hp-dash-table {
    width: 100%;
    font-size: .6rem;
    border-collapse: collapse;
}

.hp-dash-table th {
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .5rem;
    letter-spacing: .05em;
    padding: .35rem .25rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.hp-dash-table td {
    padding: .35rem .25rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.hp-status {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 100px;
    font-size: .5rem;
    font-weight: 600;
}

.hp-status.approved { background: #d1fae5; color: #059669; }
.hp-status.pending { background: #fef3c7; color: #b45309; }
.hp-status.rejected { background: #fee2e2; color: #dc2626; }

/* Hero wave */
.hp-hero-wave {
    position: relative;
    z-index: 2;
    margin-top: -400px;
    line-height: 0;
}

.hp-hero-wave svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* ============================================================
   2. FEATURES — pill tab strip + per-tab panel background + framed image
   ============================================================ */
.hp-features-tabs {
    background: #eff2fb;
    border-radius: 20px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px;
}

.hp-tab-pill {
    background: transparent;
    border: 0;
    padding: 12px 18px;
    border-radius: 28px;
    font: 500 13.5px/1.2 "Montserrat", sans-serif;
    color: #1f2a44;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    letter-spacing: -.005em;
    white-space: nowrap;
    flex: 0 0 auto;
}

.hp-tab-pill:hover:not(.active) {
    background: rgba(36, 109, 255, .08);
}

.hp-tab-pill.active {
    background: var(--zf-primary, #246DFF);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(36, 109, 255, .55);
}

.hp-feature-panel {
    background: #e9f3eb;
    border-radius: 22px;
    padding: 56px 56px 56px 64px;
    position: relative;
    overflow: hidden;
    display: none;
}

.hp-feature-panel.active {
    display: block;
}

.hp-feature-panel::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
    top: 30px;
    left: 32%;
    pointer-events: none;
}

.hp-feature-panel::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    top: 110px;
    left: 38%;
    pointer-events: none;
}

.hp-feature-card {
    background: transparent;
    position: relative;
    z-index: 1;
}

.hp-feature-body {
    padding: 32px 50px 32px 0;
}

.hp-feature-icon-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.hp-feature-icon-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.hp-feature-body .title {
    font-size: 22px;
    font-weight: 700;
    color: var(--hp-dark-2);
    margin-bottom: .75rem;
}

.hp-feature-body p {
    color: var(--hp-dark-2);
    font-size: 15px;
    line-height: 1.7;
}

.hp-feature-learnmore {
    /* CTA button on its own line below the copy (block-level flex, hugging its content) */
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .4rem;
    margin-top: 22px;
    padding: 12px 26px;
    background: var(--hp-grad);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 35px;
    transition: transform var(--hp-transition), box-shadow var(--hp-transition), background var(--hp-transition);
}

.hp-feature-learnmore:hover,
.hp-feature-learnmore:focus-visible {
    color: #fff;
    background: var(--hp-dark-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -12px rgba(36, 109, 255, 0.55);
}

.hp-feature-img {
    border-radius: 10px;
    box-shadow:
        0 30px 60px -25px rgba(10, 27, 52, .35),
        0 10px 20px -10px rgba(10, 27, 52, .15);
}

@media (max-width: 991px) {
    .hp-feature-panel {
        padding: 40px 32px;
    }
    .hp-feature-panel::before,
    .hp-feature-panel::after {
        display: none;
    }
    .hp-feature-body {
        padding: 16px 0;
    }

    /* Mobile accordion: tab strip becomes a vertical stack and the
       active panel sits directly under its pill (FAQ-style). */
    .hp-features-tabs {
        flex-direction: column;
        align-items: stretch;
        background: transparent !important;
        padding: 0;
        gap: 10px;
    }
    .hp-features-tabs .hp-tab-pill {
        width: 100%;
        text-align: center;
    }
    .hp-features-tabs .hp-feature-panel {
        margin: -2px 0 4px;
    }
}

.hp-feature-visual {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-feature-screenshot {
    width: 100%;
    max-width: 730px;
}

.hp-mock-browser {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    overflow: hidden;
}

.hp-mock-browser-dots {
    display: flex;
    gap: 5px;
    padding: .5rem .75rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.hp-mock-browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.hp-mock-browser-dots span:first-child { background: #fca5a5; }
.hp-mock-browser-dots span:nth-child(2) { background: #fcd34d; }
.hp-mock-browser-dots span:nth-child(3) { background: #6ee7b7; }

.hp-mock-browser-body {
    padding: .75rem;
}

.hp-mock-table-header {
    display: flex;
    gap: .5rem;
    padding: .4rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: .65rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.hp-mock-table-header span { flex: 1; }

.hp-mock-table-row {
    display: flex;
    gap: .5rem;
    padding: .4rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: .7rem;
    color: #334155;
    align-items: center;
}

.hp-mock-table-row span { flex: 1; }

.hp-mock-tag {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 100px;
    font-size: .6rem;
    font-weight: 600;
    flex: none !important;
}

.hp-mock-tag.green { background: #d1fae5; color: #059669; }
.hp-mock-tag.amber { background: #fef3c7; color: #b45309; }
.hp-mock-tag.blue { background: #dbeafe; color: #2563eb; }

/* ============================================================
   3. BUILT AROUND
   ============================================================ */
.hp-built-list {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
}

.hp-built-list-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 1rem;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    transition: var(--hp-transition);
    margin-bottom: .25rem;
}

.hp-built-list-item .hp-built-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    margin-top: 5px;
}

.hp-built-list-item strong {
    display: block;
    font-size: 16px;
    color: var(--dark-2);
    margin-bottom: .15rem;
}

.hp-built-list-item p {
    font-size: 14px;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
}

.hp-built-list-item.active {
    background: linear-gradient(135deg, rgba(14,165,233,.08), rgba(37,99,235,.06));
}

.hp-built-list-item.active .hp-built-bullet {
    background: #0ea5e9;
}

.hp-built-list-item.active strong {
    color: #0284c7;
}

/* Approval card */
.hp-approval-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid #e2e8f0;
}

.hp-approval-title {
    font-size: 1.35rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: .75rem;
    line-height: 1.3;
}

.hp-approval-desc {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.hp-approval-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.hp-approval-checks li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .85rem;
    color: #334155;
    margin-bottom: .5rem;
    line-height: 1.4;
    position: relative;
}
.hp-approval-checks li::before {
    content: '';
    background: url(../images/icon/check-blue.svg) no-repeat center center;
    width: 14px;
    height: 14px;
}

.hp-approval-checks li i {
    color: #10b981;
    font-size: .85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.hp-approval-stats {
    display: flex;
    gap: 1rem;
}

.hp-approval-stat {
    flex: 1;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    border: 1px solid #e0f2fe;
}

.hp-approval-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.hp-approval-stat-label {
    font-weight: 500;
}

.hp-approval-stat .icon {
    margin-bottom: 12px;
}

.hp-tab-content {
    display: none;
}

.hp-tab-content.active {
    display: block;
}

.hp-built-list-item {
    cursor: pointer;
    padding: 16px 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    transition: 0.3s;
    background: var(--bg-light);
}

.hp-built-list-item.active {
    background: var(--blue);
    color: #fff;
}
.hp-built-list-item.active strong, .hp-built-list-item.active p {
    color: #fff;
}
.hp-built-list .icon {
    width: 50px;
    display: inline-block;
    padding: 7px;
    border-radius: 10px;
    background: #fff;
}
.hp-built-list-item > div {
    width: 80%;
}
.hp-built-list-item:nth-last-child(1){ margin-bottom: 0;}

/* Mobile accordion: when JS relocates a panel inline next to its item,
   give it room to breathe so it reads as the item's expanded body. */
@media (max-width: 991.98px) {
    .hp-built-list .hp-tab-content {
        margin: -4px 0 14px;
    }
    .hp-built-list .hp-tab-content:not(.active) {
        display: none;
    }
    .hp-built-list .hp-approval-card {
        padding: 1.25rem 1.25rem;
    }
    /* Tighter approval-stats on small screens so the inline panel fits. */
    .hp-built-list .hp-approval-stats {
        gap: .5rem;
    }
    .hp-built-list .hp-approval-stat {
        padding: 12px 8px;
    }
    .hp-approval-stat .icon {
        background: none;
    }
}

/* ============================================================
   4. FOUR STEPS — TIMELINE
   ============================================================ */
.hp-timeline {
    position: relative;
    padding: 2rem 0;
}

.hp-timeline-line {
    position: absolute;
    top: 52px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-2), var(--ocean-blue), transparent);
    border-radius: 2px;
    z-index: 0;
}

.hp-timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hp-timeline-step {
    text-align: center;
}

.hp-timeline-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--hp-grad);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px rgba(14,165,233,.3);
    border: 3px solid #fff;
}

.hp-timeline-step h5 {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}

.hp-timeline-step p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}
/* header buttons now in _PublicLayout */
/* ============================================================
   5. STATS BAR
   ============================================================ */
.hp-stats-bar {
    background: var(--hp-grad) !important;
    padding: 50px 0;
}

.hp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hp-stat-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
}

.hp-stat-icon-wrap i {
    font-size: 1.3rem;
    color: #fff;
}

.hp-stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.hp-stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.75);
    margin-top: .25rem;
}

/* ============================================================
   6. TESTIMONIALS
   ============================================================ */
.hp-testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.user-block {
    display: flex;
    align-items: center;
    margin-bottom: 17px;
    gap: 15px
}
.hp-testimonial-card .content {
    background: #fff;
    padding: 37px 20px 18px;
    border-radius: 13px;
}
.hp-testimonial-photo-wrap {
    position: relative;
    display: inline-block;
}

.hp-testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.hp-testimonial-avatar--initials {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.hp-testimonial-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.hp-testimonial-quote-badge {
    position: absolute;
    top: -21px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-testimonial-name {
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
    color: var(--dark-2);
    font-weight: 600;
}

.hp-testimonial-role {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    color: var(--black);
}

.hp-testimonial-card p {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: var(--dark-2);
}

/* Single-row carousel with prev/next arrows and 4s auto-rotate. Cards
   render once (SEO-friendly — no duplication, no aria-hidden); the JS
   driver advances by reordering the DOM, so crawlers see all unique
   testimonials at page load. */
.hp-testimonials-carousel {
    position: relative;
    margin-top: 2.5rem;
    padding: 1rem 4rem;          /* room for the absolute-positioned arrows */
}

.hp-testimonials-viewport {
    overflow: hidden;
}

.hp-testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.22, 0.7, 0.3, 1);
    will-change: transform;
}

.hp-testimonials-slide {
    flex: 0 0 calc((100% - (1.5rem * 2)) / 3);   /* 3 cards visible on desktop */
    display: flex;
}

.hp-testimonials-slide > .hp-testimonial-card {
    width: 100%;
}

/* Fancy circular arrow buttons — gradient fill, soft drop shadow, lift on hover. */
.hp-testimonials-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--blue, #1870d1), var(--blue-deep, #0f4ea3));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(24, 112, 209, 0.28), 0 2px 6px rgba(10, 27, 52, 0.12);
    z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hp-testimonials-arrow:hover,
.hp-testimonials-arrow:focus-visible {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(24, 112, 209, 0.4), 0 3px 8px rgba(10, 27, 52, 0.18);
    outline: none;
}

.hp-testimonials-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.hp-testimonials-arrow--prev { left: 0; }
.hp-testimonials-arrow--next { right: 0; }

@media (max-width: 992px) {
    .hp-testimonials-slide { flex-basis: calc((100% - 1.5rem) / 2); }   /* 2-up */
}

@media (max-width: 640px) {
    .hp-testimonials-carousel { padding: 1rem 3rem; }
    .hp-testimonials-slide { flex-basis: 100%; }                         /* 1-up */
    .hp-testimonials-arrow { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-testimonials-track { transition: none; }
}

/* ============================================================
   7. PRICING
   ============================================================ */
.hp-pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--hp-transition);
}

.hp-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

.hp-pricing-card.featured {
    background: linear-gradient(180deg, #0ea5e9 0%, #2563eb 100%);
    border-color: transparent;
    color: #fff;
}

.hp-pricing-card.featured .hp-pricing-plan,
.hp-pricing-card.featured .hp-pricing-desc,
.hp-pricing-card.featured .hp-pricing-features li {
    color: rgba(255,255,255,.85);
}

.hp-pricing-card.featured .hp-pricing-price .currency,
.hp-pricing-card.featured .hp-pricing-price .amount,
.hp-pricing-card.featured .hp-pricing-price .period {
    color: #fff;
}

.hp-pricing-card.featured .hp-pricing-divider {
    border-color: rgba(255,255,255,.2);
}

.hp-pricing-card.featured .hp-pricing-features li i {
    color: rgba(255,255,255,.7);
}

.hp-pricing-card.featured .hp-pricing-features li.muted {
    color: rgba(255,255,255,.5);
}

.hp-pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0ea5e9;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 100px;
    letter-spacing: .04em;
}

.hp-pricing-badge.popular {
    background: #f59e0b;
    color: #fff;
}

.hp-pricing-price {
    margin-bottom: .5rem;
    margin-top: 1rem;
}

.hp-pricing-price .currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    vertical-align: super;
}

.hp-pricing-price .amount {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.hp-pricing-price .period {
    font-size: .85rem;
    color: #94a3b8;
    font-weight: 500;
}

.hp-pricing-plan {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .25rem;
}

.hp-pricing-desc {
    font-size: .82rem;
    color: var(--hp-muted);
    margin-bottom: .5rem;
}

.hp-pricing-divider {
    border-color: #e2e8f0;
    margin: .75rem 0;
}

.hp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.hp-pricing-features li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: #334155;
    margin-bottom: .5rem;
}

.hp-pricing-features li i {
    font-size: .85rem;
    color: #0ea5e9;
    flex-shrink: 0;
}

.hp-pricing-features li.muted {
    color: #94a3b8;
}

.hp-pricing-features li.muted i {
    color: #cbd5e1;
}

.hp-btn-plan {
    display: block;
    text-align: center;
    padding: .65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: var(--hp-transition);
}

.hp-btn-plan.outline {
    background: transparent;
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
}

.hp-btn-plan.outline:hover {
    background: #0ea5e9;
    color: #fff;
}

.hp-btn-plan.solid {
    background: #fff;
    color: #0284c7;
    border: 2px solid #fff;
}

.hp-btn-plan.solid:hover {
    background: #e0f2fe;
    border-color: #e0f2fe;
}

/* ============================================================
   pricing card
   ============================================================ */

.pricing-card {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
    background: #fff;
    position: relative;
}
.badge-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-blue) !important;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
.price { font-size: 3rem; font-weight: 700; }
.btn-choose {
    border: 1px solid #ced4da;
    border-radius: 45px;
    width: 100%;
    padding: 10px 13px;
    background: white;
    color: var(--black);
    font-weight: 600;
    font-size: 14px;
    line-height: 38px;
}
.btn-choose:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.featured .btn-choose { background: white; color: #2b5fd5; border: none; }
.pricing-card .cost {
    font-weight: 700;
    font-size: 38px;
    line-height: 57px;
    letter-spacing: -2.48821px;
    color: var(--dark-2);
}
.pricing-card .cost small {
    letter-spacing: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: var(--gray);
}
.pricing-card .title {
    font-size: 17px;
    line-height: 24px;
    letter-spacing: -0.336865px;
    color: var(--dark-2);
}
.pricing-card.featured {
    background-color: var(--blue);
    color: #fff;
    border: none;
}
.pricing-card.featured .cost{
    color: #fff;
}
.pricing-card.featured .title{
    color: #fff;
}
.pricing-card.featured small{
    color: #fff !important;
}
.pricing-card.featured li {
    color: #fff;
}
.pricing-card.featured li img {
    filter: brightness(0) invert(1);
}
.pricing-card li {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray);
    margin-bottom: 12px;
    display: flex;
    gap: 5px;
}
.pricing-card li:nth-last-child(1) {
    margin-bottom: 0;
}
.pricing-card li .icon {
    width: 18px;
    height: 20px;
    display: block;
}
.pricing-card button i.icon {
    width: 30px;
    height: 30px;
    background: var(--ocean-blue);
    border-radius: 50%;
}
/* ============================================================
   8. CTA SECTION
   ============================================================ */
.hp-cta-section {
    margin-top: 110px;
}

/* Note: .hp-cta-band styling lives in components/_page-cta-band.css.
   The previous rule here applied a brand gradient + 50px radius via
   !important and bled outside the unified panel. Removed. */

.hp-cta-heading {
    font-weight: 600;
    font-size: 54px;
    line-height: 60px;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    color: #fff;
}

.hp-cta-sub {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFF;
}

.hp-cta-input-row {
    display: flex;
    gap: 0;
    max-width: 440px;
    border-radius: 35px;
    background: #fff;
    align-items: center;
}
.hp-cta-input-row .icon { margin-left: 19px;}
.hp-cta-input-row input {
    flex: 1;
    background: #fff;
    border: none;
    outline: none;
    padding: 13px 15px;
    border-radius: 34px;
    font-weight: 400;
    font-size: 15px;
    line-height: 16px;
    color: var(--hp-muted-2);
}

.hp-cta-input-row input::placeholder {
    color: var(--hp-muted-2);
}

.hp-cta-input-row .btn-get {
    background: var(--hp-dark-2);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 23px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--hp-transition);
}

.hp-cta-input-row .btn-get:hover {
    background: var(--ocean-blue);
    color: #fff;
}

.hp-cta-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: -50px;
}

/* ============================================================
   9. FAQ
   ============================================================ */
.hp-faq .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden;
    background: #fff;
}

.hp-faq .accordion-button {
    font-weight: 600;
    font-size: .92rem;
    color: #0f172a;
    background: #fff;
    box-shadow: none;
    padding: 1rem 1.25rem;
}

.hp-faq .accordion-button:not(.collapsed) {
    color: var(--dark-2);
    background: #fff;
}

.hp-faq .accordion-button::after {
    background-size: 1rem;
}

.hp-faq .accordion-body {
    font-size: 16px;
    line-height: 26px;
    text-align: justify;
    letter-spacing: -0.16px;
    color: var(--gray);
    padding-top: 0;
}
.hp-faq .accordion-header {
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -0.16px;
    color: var(--dark-2);
}
.hp-faq .accordion-header .accordion-button {
    font-size: 16px;
}

.hp-faq-illus {
    margin-top: 2rem;
}

.stats-container {
      color: white;
      border-radius: 12px;
    }

    .stat-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
      padding: 10px;
    }

    /* Icon styling */
    .stat-icon {
      font-size: 2.5rem;
      background: white;
      color: #4d64f7;
      width: 85px;
      height: 85px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      padding: 15px;
    }

    .stat-text h3 {
      margin: 0;
      font-weight: 700;
      font-size: 1.8rem;
    }

    .stat-text p {
      margin: 0;
      font-size: 0.9rem;
    }
.hp-stats-bar .item:nth-child(1) {
    border-right: 1px solid #fff;
}
.hp-stats-bar .item:nth-child(2) {
    border-right: 1px solid #fff;
}
.hp-stats-bar .item:nth-child(3) {
    border-right: 1px solid #fff;
}

/* ============================================================
popup form
============================================================ */

#partnerModal .bg-light-blue {
    background: url(../images/portrait-bg.webp) no-repeat;
    background-size: cover;
}

.text-primary-custom {
    color: var(--blue);
    letter-spacing: -1px;
}

/* Custom Input Styling */
#partnerModal .custom-input {
    background-color: var(--bg-light) !important;
    border: none !important;
    padding: 12px 15px;
    box-shadow: none;
}

#partnerModal .input-group-text.custom-input {
    color: var(--text-muted);
    border-left: none !important;
}

/* Custom Close Button */
#partnerModal .btn-close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FF6B6B;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.4s ease;
    padding: 10px;
}

#partnerModal .btn-close-custom:hover {
    background: #1E1E1E;
}

/* Submit Button */
#partnerModal .btn-submit {
    background: linear-gradient(90deg, #4F78FF 0%, #00D2D3 100%);
    color: white;
    border: none;
    font-weight: 500;
    padding: 10px 35px;
    box-shadow: 0 4px 15px rgba(79, 120, 255, 0.3);
}

/* Illustration Wave Decor */
#partnerModal .wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.3" d="M0,192L80,176C160,160,320,128,480,149.3C640,171,800,245,960,245.3C1120,245,1280,171,1360,133.3L1440,96V320H0Z"></path></svg>');
    background-size: cover;
}
#partnerModal .modal-content textarea { resize: none;}
.blue-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(90deg, #246DFF 0%, #07C3D6 100%);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 35px;
    border: none;
    text-decoration: none;
    transition: all 0.4s ease;
}
.blue-btn:hover {
    background: var(--dark-2);
    color: #fff;
}
.blue-btn .icon { width: 6px; height: auto;}
#partnerModal .modal-content .input-group .icon {
    width: 38px;
    display: block;
    padding: 11px 10px;
}
/* ============================================================
popup form end
============================================================ */

/* footer styles now in _PublicLayout */

/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 1300px) {
    .hp-cta-heading {
        font-size: 32px;
        line-height: 36px;
    }
    .hp-cta-sub { width: 460px;}
}
@media (max-width: 991.98px) {
    /* Hero: let height grow with content so the bg image cover-fills a
       sensible box instead of clipping to a tiny centered slice. The
       desktop card uses min-height: 590px which would overflow the
       540px mobile hero hard-coded below 480px — drop the floor here. */
    .hp-hero {
        height: auto;
        min-height: 560px;
        background-size: cover !important;
        background-position: center center !important;
    }
    .hp-hero-inner {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    .hp-hero-content-card {
        padding: 32px 24px;
        min-height: 0;
    }

    .hp-dash-sidebar {
        display: none;
    }

    .hp-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-dash-charts {
        grid-template-columns: 1fr;
    }

    .hp-timeline-line {
        display: none;
    }

    .hp-timeline-steps {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hp-approval-stats {
        flex-direction: column;
    }
    .hp-cta-heading {display: block;}
    .hp-cta-sub {width: auto;}
    .hp-cta-input-row { max-width: 100%;}
    .hp-dashboard-preview .hp-dashboard-frame { margin-top: -230px; padding: 0 16px 40px;}
    .hp-hero-wave { margin-top: -130px;}
    .stat-icon {
        width: 60px;
        height: 56px;
        padding: 10px;
    }
    .stat-text h3 {
        font-size: 20px;
    }
    .stat-item {
        padding: 10px 0;
    }
    .hp-stats-bar .item {
        border: none !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --hp-section-py: 60px;
    }
    
    .hp-hero-heading {
        font-size: 1.8rem;
    }

    .hp-heading {
        font-size: 1.6rem;
        line-height: 30px;
    }
    
    .hp-timeline-steps {
        grid-template-columns: 1fr;
    }
    
    .hp-dash-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .hp-stat-value {
        font-size: 1.6rem;
    }
    .border-md-end {
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }
    .hp-cta-input-row input { width: 100%;}
    .hp-stats-bar .item { border-right: none !important; padding: 0;}
    .hp-stats-bar .stat-item {justify-content: start;}
}
@media (max-width: 575px) {
    .hp-cta-input-row .btn-get { padding: 15px 12px; font-size: 13px;}
    .hp-stats-bar .stat-icon {
        margin: 0 auto;
        margin-bottom: 6px;
    }
    .hp-stats-bar .stat-item {
        display: block;
        text-align: center;
    }

}
@media (max-width: 480px) {
    .hp-cta-heading {
        font-size: 26px;
        line-height: 32px;
    }
    .hp-cta-sub {
        font-size: 14px;
        line-height: normal;
    }
    .hp-hero-heading {
        font-size: 18px;
    }
    .hp-hero-badge { padding: 5px 6px; font-size: 13px;}
    .hp-hero-content-card {
        padding: 32px 14px;
    }
    .hp-btn-primary {padding: 12px 10px;}
    .hp-btn-dark {padding: 12px 10px;}
    /* Inherit auto height from the 991.98 breakpoint so the bg image
       cover-fills the actual content box on small phones too. */
    .hp-hero { height: auto; min-height: 480px; }
        .hp-dashboard-preview .hp-dashboard-frame {
        margin-top: 0;
        padding: 0 12px 24px;
    }
    .hp-hero-inner { padding-bottom: 0;}
    .stat-item { padding: 10px 20px;}
}

/* ============================================================
   PUBLIC INFO PAGES (About / Contact / Pricing)
   Shared building blocks so inline styles stay dark-mode aware.
   ============================================================ */
.hp-page-intro {
    font-size: 1.1rem;
    color: var(--hp-muted);
    max-width: 600px;
    margin: 1rem auto 0;
}

.hp-info-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.hp-info-card--centered {
    text-align: center;
}

.hp-info-card__icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(36, 109, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hp-info-card__icon-wrap i,
.hp-info-card__icon-wrap span {
    font-size: 1.4rem;
    color: #246DFF;
}

.hp-info-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hp-dark-2);
    margin-bottom: 0.5rem;
}

.hp-info-card__text {
    color: var(--hp-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.hp-info-card__link {
    color: #246DFF;
    font-weight: 600;
    font-size: 0.95rem;
}

.hp-info-panel {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
}

.hp-info-panel__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--hp-dark-2);
    margin-bottom: 1.5rem;
}

.hp-info-panel__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hp-info-panel__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hp-info-panel__list li > span.bi {
    color: #246DFF;
    font-size: 1.2rem;
    margin-top: 2px;
}

.hp-info-panel__list strong {
    color: var(--hp-dark-2);
    display: block;
}

.hp-info-panel__list p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.95rem;
}

.hp-about-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--hp-dark-2);
    margin-bottom: 1rem;
}

.hp-about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--hp-muted);
}

.hp-cta-banner {
    background: linear-gradient(135deg, #246DFF 0%, #07C3D6 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}

.hp-cta-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hp-cta-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hp-cta-banner .btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2rem;
}

.hp-follow-us {
    text-align: center;
    padding: 2.5rem 0 1rem;
}

.hp-follow-us__label {
    font-size: 1rem;
    color: var(--hp-muted);
    margin-bottom: 1rem;
}

.hp-social-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hp-social-link {
    width: 40px;
    height: 40px;
    background: rgba(36, 109, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #246DFF;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.hp-social-link:hover {
    background: #246DFF;
    color: #fff;
}

.hp-pricing-tier {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.hp-pricing-tier--featured {
    background: linear-gradient(135deg, #246DFF 0%, #07C3D6 100%);
    color: #fff;
    border-color: transparent;
}

.hp-pricing-tier__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hp-dark-2);
    margin-bottom: 0.5rem;
}

.hp-pricing-tier--featured .hp-pricing-tier__name {
    color: #fff;
}

.hp-pricing-tier__desc {
    font-size: 0.9rem;
    color: var(--hp-muted);
    margin-bottom: 1.5rem;
}

.hp-pricing-tier--featured .hp-pricing-tier__desc {
    color: #fff;
    opacity: 0.85;
}

.hp-pricing-tier__price {
    margin-bottom: 1.5rem;
}

.hp-pricing-tier__price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--hp-dark-2);
}

.hp-pricing-tier--featured .hp-pricing-tier__price-amount {
    color: #fff;
}

.hp-pricing-tier__price-period {
    color: var(--hp-muted);
    font-size: 0.9rem;
}

.hp-pricing-tier--featured .hp-pricing-tier__price-period {
    color: #fff;
    opacity: 0.85;
}

.hp-pricing-tier__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--hp-muted);
}

.hp-pricing-tier--featured .hp-pricing-tier__features {
    color: #fff;
    opacity: 0.95;
}

.hp-pricing-tier__features li i.bi-check,
.hp-pricing-tier__features li span.bi-check {
    color: #246DFF;
    margin-right: 0.5rem;
}

.hp-pricing-tier--featured .hp-pricing-tier__features li i.bi-check,
.hp-pricing-tier--featured .hp-pricing-tier__features li span.bi-check {
    color: #fff;
}

.hp-pricing-tier__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ff6b35;
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hp-pricing-note {
    text-align: center;
    padding: 2rem 0;
    font-size: 1rem;
    color: var(--hp-muted);
}

.hp-pricing-note a {
    color: #246DFF;
    font-weight: 600;
}

/* Dark-mode overrides for the above */
html[data-theme="dark"] .hp-page-intro,
html[data-theme="dark"] .hp-about-text,
html[data-theme="dark"] .hp-info-card__text,
html[data-theme="dark"] .hp-info-panel__list p,
html[data-theme="dark"] .hp-pricing-tier__desc,
html[data-theme="dark"] .hp-pricing-tier__price-period,
html[data-theme="dark"] .hp-pricing-tier__features,
html[data-theme="dark"] .hp-follow-us__label,
html[data-theme="dark"] .hp-pricing-note {
    color: #94a3b8;
}

html[data-theme="dark"] .hp-about-heading,
html[data-theme="dark"] .hp-info-card__title,
html[data-theme="dark"] .hp-info-panel__title,
html[data-theme="dark"] .hp-info-panel__list strong,
html[data-theme="dark"] .hp-pricing-tier__name,
html[data-theme="dark"] .hp-pricing-tier__price-amount {
    color: #e2e8f0;
}

html[data-theme="dark"] .hp-info-card,
html[data-theme="dark"] .hp-info-panel,
html[data-theme="dark"] .hp-pricing-tier {
    background: #111c33;
    border-color: #1e2a44;
}

html[data-theme="dark"] .hp-info-card__icon-wrap {
    background: rgba(88, 166, 255, 0.15);
}

html[data-theme="dark"] .hp-info-card__icon-wrap i,
html[data-theme="dark"] .hp-info-card__icon-wrap span,
html[data-theme="dark"] .hp-info-card__link,
html[data-theme="dark"] .hp-info-panel__list li > span.bi,
html[data-theme="dark"] .hp-pricing-note a {
    color: #58A6FF;
}

html[data-theme="dark"] .hp-social-link {
    background: rgba(88, 166, 255, 0.15);
    color: #58A6FF;
}

html[data-theme="dark"] .hp-social-link:hover {
    background: #246DFF;
    color: #fff;
}

html[data-theme="dark"] .hp-pricing-tier__features li i.bi-check,
html[data-theme="dark"] .hp-pricing-tier__features li span.bi-check {
    color: #58A6FF;
}
/* ============================================================
   PUBLIC INFO PAGES end
   ============================================================ */