/*-- custom css start here --*/
[data-bs-theme-base="neutral"] {
    --tblr-gray-50: #fafafa;
    --tblr-gray-100: #f5f5f5;
    --tblr-gray-200: #e5e5e5;
    --tblr-gray-300: #d4d4d4;
    --tblr-gray-400: #a3a3a3;
    --tblr-gray-500: #737373;
    --tblr-gray-600: #525252;
    --tblr-gray-700: #404040;
    --tblr-gray-800: #262626;
    --tblr-gray-900: #171717;
    --tblr-gray-950: #0a0a0a;
}

.page-body {
    margin-top: 20px;
}

h1 {
    font-size: 2rem;
}

/* Transparent navbar over hero */
.jm-homepage .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
    box-shadow: none;
    border-bottom: none;
}

.jm-homepage .navbar .nav-link,
.jm-homepage .navbar .navbar-toggler {
    color: rgba(255, 255, 255, 0.75) !important;
}

.jm-homepage .navbar .nav-link:hover,
.jm-homepage .navbar .nav-link.active {
    color: #fff !important;
}

.jm-homepage .navbar .navbar-toggler-icon {
    filter: invert(1);
}

/* ── Hero ──────────────────────────────────────────────────── */
.jm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -56px;
    padding-top: 56px;
    overflow: hidden;
}

.jm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #070b14;
}

.jm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(5,8,20,0.88) 0%, rgba(8,14,36,0.75) 100%);
}

.jm-hero-body {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 2rem 1.25rem;
    text-align: center;
    margin: 0 auto;
}

/* Form */
.jm-hero-form-wrap {
    margin-bottom: 2.25rem;
}

.jm-hero-input-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.jm-hero-input-row:focus-within {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
}

.jm-hero-icon {
    display: flex;
    align-items: center;
    padding: 0 0.875rem;
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.jm-hero-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
    color: #fff !important;
    font-size: 1rem;
    padding: 0.9rem 0.25rem;
    min-width: 0;
}

.jm-hero-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.jm-hero-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    padding: 0.9rem 1.375rem;
    color: var(--tblr-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.jm-hero-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* Headline — styled via CMS content */
.jm-hero-headline {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.jm-hero-headline h1,
.jm-hero-headline h2,
.jm-hero-headline h3 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.jm-hero-headline p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
}

/* Sub-link */
.jm-hero-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.38);
    margin: 0;
}

.jm-hero-sub a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.jm-hero-sub a:hover {
    color: #fff;
}
/* ─────────────────────────────────────────────────────────── */

.section {
    padding: 5.5rem 0;
}

.jm-features,
.jm-faq {
    background-color: var(--tblr-homebg);
}

.jm-about-icons svg {
    width: 50px;
    height: 50px;
    color: var(--tblr-primary);
}

.jm-about-bigicon svg.icon {
    height: 250px;
    width: 250px;
    color: var(--tblr-primary);
}

.jm-icon-box svg {
    height: 35px;
    width: 35px;
}

.jm-icon-box span {
    background-color: var(--tblr-primary);
    color: var(--tblr-white);
    border-radius: var(--tblr-border-radius);
    height: 50px;
    width: 50px;
}

[data-bs-theme=dark] .navbar-brand-image {
    filter: invert(100%);
}

.jm-how-to-use {
    color: var(--tblr-white);
}

[data-bs-theme=dark] .section-light {
    background-color: #333333;
}

[data-bs-theme=light] .section-light {
    background-color: #f2f2f2;
}

.ribbon.bg-green {
    border-color: var(--tblr-primary);
}

.ribbon-bookmark {
    background-color: var(--tblr-primary) !important;
}

.ribbon-top {
    width: 2.5rem;
}

.ribbon-bookmark.ribbon-top:after {
    border-width: 1.3rem;
    border-top-width: 0;
    border-bottom-color: transparent;
    border-bottom-width: 0.5rem;
}

.jm-faq .accordion-button {
    font-size: 1.2rem;
}

.jm-review-icon svg {
    width: 50px;
    height: 50px;
    color: var(--tblr-primary);
}

.jm-review-icon {
    gap: 15px;
}

.jm-footer-menu {
    gap: 20px;
}

button.link.jm-join-link {
    position: absolute;
    top: 7px;
    right: 10px;
    font-weight: 600;
    background: transparent;
}

[dir="rtl"] button.link.jm-join-link {
    right: unset;
    left: 10px;
}

.jm-join-link {
    color: var(--tblr-primary);
}


.link {
    color: var(--tblr-primary);
    font-weight: 600;
}

.jm-home-bg h2 {
    color: var(--tblr-white);
}

.input-group {
    box-shadow: none;
}

#cover-spin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: block;
}

.logo-image {
    height: 2rem;
    width: auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: "";
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: var(--bs-primary);
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

.navbar-logo {
    width: auto;
    height: 2rem;
}

[data-bs-theme=dark] .toast-header {
    background: unset;
    color: var(--tblr-white);
}

.pricing-label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    vertical-align: bottom;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured {
    z-index: 1;
    border: 2px solid var(--tblr-primary);
    order: -1;
    transform: scale(1.05);
}

/*-- Responsive css start here --*/
/*--mobile css start here--*/
@media (min-width: 768px) {
    .featured {
        order: unset;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: 0 0 4px rgba(var(--tblr-body-color-rgb), .04);
        border-radius: 8px;
    }
}

@media (min-width: 992px) {

    :host,
    :root {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width:767px) {
    .featured {
        transform: unset;
    }

    .navbar-toggler {
        color: var(--tblr-white);
    }

    .nav-link-icon {
        color: var(--tblr-white);
    }

    .navbar .navbar-nav .nav-link {
        color: var(--tblr-white);
    }

    .jm-homepage .navbar {
        background-color: rgba(5, 8, 20, 0.92) !important;
    }

    .jm-hero-body {
        padding: 1.5rem 1rem;
    }

    .jm-hero-headline h1,
    .jm-hero-headline h2,
    .jm-hero-headline h3 {
        font-size: 1.6rem;
    }

    .section {
        padding: 3rem 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .jm-about-bigicon svg.icon {
        height: 200px;
        width: 200px;
    }
}

/*--ipad css start here--*/
@media only screen and (min-width:768px) and (max-width:959px) {
    .section {
        padding: 3rem 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .jm-about-bigicon svg.icon {
        height: 200px;
        width: 200px;
    }

    .jm-footer-menu {
        justify-content: space-between;
    }
}

