/* FUNNEL LAYOUT STYLE */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    background-color:#f8f9fa;
}

/*This is to make the spacing if content is small nice (footer at the right place)*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}


main {
    flex: 1;
}
button, input, select, textarea {
    font-family: inherit;
}

/*funnel header*/
.funnel-header {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header img {
    height: 40px;
}
.header-contact-bar{
    color: white;
    background-color: #2b5aa8;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px #ffffff40 solid;
    border-bottom:1px #ffffff40 solid;
    padding: 0px 10px;
}
.header-contact-bar a {
    color: white;
    text-decoration: underline;
}

/*main content*/
main{
    padding:30px 10px;
}

/*funnel footer*/
.footer-contact-bar {
    background-color: #2b5aa8;
    color: white;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px #ffffff40 solid;
    border-bottom:1px #ffffff40 solid;
    padding: 0px 10px;
}

.footer-contact-bar a {
    color: white;
    text-decoration: underline;
}

.footer {
    background-color: #2b5aa8;
    color: white;
    padding: 20px 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    height: 40px;
    max-width: 80%;
    margin-bottom: 0.75rem;
    display: block;
}

.footer-help-link {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
}

.footer-right strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-right ul li {
    margin-bottom: 1.2rem;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-logos img {
    height: 50px;
}


/* Responsive */
@media (max-width: 768px) {
    header img {
        height: 40px;
    }
    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-help-link {
        text-align: center;
        margin-top:20px;
    }

    .footer-right {
        text-align: left;
        width: 100%;
    }

    .payment-logos img {
        height: 50px; /* override the smaller size */
    }
}


@media (max-width: 480px) {
    header img {
        height: 40px;
    }
}

/*MAIN CONTENT AND LAYOUT STYLE*/
.main-support-bar {
    background-color: #2b5aa8;
    color: white;
    text-align: center;
    font-size: 0.95rem;
    border-bottom:1px #ffffff40 solid;
    padding: 0px 10px;
}

.main-support-bar a {
    color: white;
    text-decoration: underline;
}
/* Navbar container */
.main-navbar {
    background-color: var(--header-bg);
    color: var(--font-color);
    padding: 10px 10px;
}
.main-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.header-logo {
    height: 40px;
    display: block;
}

/* Nav Sections */
.main-navbar-left,
.main-navbar-center,
.main-navbar-right {
    display: flex;
    align-items: center;
}
.main-navbar-center {
    flex: 1;
    justify-content: center;
}

/* Nav Links */
.main-nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav-links li a {
    color: var(--font-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

/* Right side buttons */
.main-navbar-right {
    gap: 20px;
}
.main-cancel-link {
    color: var(--font-color);
    text-decoration: none;
    font-size: 0.95rem;
}
.main-login-button {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.main-login-button:hover {
    opacity:0.8;
}
/* Hamburger menu button */
.main-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--font-color);
    cursor: pointer;
}
.menu-icon {
    display: inline-block;
    font-size: 1.6rem;
    transition: transform 0.25s ease;
}

/* Rotate when parent button is active */
.main-menu-toggle.active .menu-icon {
    transform: rotate(90deg);
}

/* Start hidden, 0 height */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: var(--header-bg);
    text-align: center;
    padding: 0 10px; /* no vertical padding yet */
}

/* When active, expand */
.mobile-menu.active {
    max-height: 300px; /* or something larger if needed */
    padding-top: 20px;
    padding-bottom: 20px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links .mobile-nav-link {
    color: var(--font-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

/* Show toggle and hide normal nav on small screens */
@media (max-width: 768px) {
    .main-navbar-container {
        flex-direction: row; /* ← updated */
        justify-content: space-between; /* ← ensures logo left, button right */
        align-items: center;
        gap: 0; /* optional, remove vertical spacing */
    }

    .main-navbar-center,
    .main-navbar-right {
        display: none;
    }

    .main-menu-toggle {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

    .header-logo {
        height: 40px;
    }

    .main-nav-links {
        gap: 16px;
        font-size: 0.9rem;
    }

    .main-navbar-right {
        justify-content: center;
    }
}

/*MAIN PAGE CONTENT STYLE*/

.home-container{
    max-width: 1200px;
    margin: 0 auto;
}
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-button {
    background-color: #2b5aa8;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #1d4585;
}

.hero-image {
    flex: 1 1 45%;
    text-align: center;
    min-width: 300px;
    margin-top: 40px; /* adds space between button and image on mobile */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}



/* Mobile styles */
@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 20px; /* reduce top padding */
    }

    .hero-heading {
        font-size: 1.8rem; /* smaller heading */
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-image {
        margin-top: 60px; /* more space from the button */
    }
}


/*Main page content style reviews and trust badges section*/
.trust-section {
    background-color: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

.trust-header {
    margin-bottom: 40px;
}

.trust-title {
    font-size: 2.5rem;   /* Match hero-heading */
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.trust-rating {
    font-size: 1.2rem;
    color: #555;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}


.trust-badge {
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .trust-title{
        font-size:1.8rem;
    }
    .trust-rating{
        font-size:1rem;
    }
    .trust-badges {
        flex-direction: row; /* Force horizontal on mobile */
        justify-content: center;
        gap: 20px;
    }

    .trust-badge {
        max-width: 80px;
    }

}
/*Main Page Content Features Sectino*/
.features-section {
    text-align: center;
    margin-top:80px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 10px;
}

.features-subtext {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f9fbff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.feature-icon {
    height: 40px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1c1c1c;
}

.feature-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
@media screen and (max-width: 768px) {
    .features-title {
        font-size: 1.8rem;  /* match .hero-heading */
    }

    .features-subtext {
        font-size: 1rem;    /* match .hero-subtext */
    }
}

/*Main content trusted section*/
.trusted-section {
    text-align: center;
    padding: 60px 0px;
    margin:0;
}

.trusted-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trusted-subtext {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}
.trusted-logos-wrapper {
    margin: 0 auto;
    padding: 0px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.trusted-logos-wrapper::before,
.trusted-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trusted-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.trusted-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}
.trusted-logos-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */

}

.trusted-logos {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    align-items: center;
    min-width: fit-content;
    padding: 10px 10px;
    animation: scroll-logos 40s linear infinite;

}
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.trusted-logos img {
    height: 40px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin:0;
    padding:0;
}

.trusted-logos img:hover {
    opacity: 1;
}

/* Optional: auto-scrolling animation on mobile */
@media screen and (max-width: 768px) {
    .trusted-logos {
        animation: scroll-logos 70s linear infinite;
    }

    @keyframes scroll-logos {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    .trusted-title {
        font-size: 1.8rem;
    }

    .trusted-subtext {
        font-size: 1rem;
    }
}
.cta-button-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom:40px;
}

.cta-button {
    background-color: #2b5aa8;
    color: white;
    padding: 16px 40px; /* bigger button */
    font-size: 1.1rem;   /* larger text */
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: inline-block;
    min-width: 220px;    /* make it wider */
}

.cta-button:hover {
    opacity:0.8;
}

/*COMPLIANCE PAGES - PRICING PAGE */
.compliance-pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compliance-pricing-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    max-width: 500px;
    width: 100%;
    padding: 20px 10px;
    border-radius: 6px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.compliance-pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.compliance-pricing-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.compliance-pricing-price-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.compliance-pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1c1c;
}

.compliance-pricing-period {
    font-size: 1rem;
    color: #555;
}

.compliance-pricing-trial-note {
    font-size: 1rem;
    color: #777;
    margin-bottom: 24px;
}

.compliance-pricing-trial {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 8px;
}

.compliance-pricing-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.compliance-pricing-features {
    text-align: left;
    margin: 0 auto 30px;
    padding-left: 0;
    list-style: none;
    max-width: 340px; /* narrower */
}

.compliance-pricing-features li {
    margin-bottom: 14px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.emoji {
    font-size: 1.1rem;
    line-height: 1.4;
    flex-shrink: 0;
}
.checkout-box-modern-header {
    margin-bottom: 24px;
    text-align:center;
}

.checkout-box-modern-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1c1c1c;
}

.checkout-box-modern-price-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.checkout-box-modern-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1c1c1c;
}

.checkout-box-modern-period {
    font-size: 1rem;
    color: #666;
}

.checkout-box-modern-trial {
    display: inline-block;
    background-color: #f1f5f9;
    color: #444;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 500;
}

/*main help section and simple pages */
.simple-page-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.help-subtext {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.faq-heading {
    margin-top:40px;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    background: #f9f9f9;
    border: none;
    width: 100%;
    text-align: left;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 16px;
}
.intextemail{
    color:#000;
    font-weight:600;
}
@media screen and (max-width: 768px) {
.section-title, .faq-heading {
    font-size:1.8rem;
}
}
/*UPSELL*/
.upsell-step-indicator {
    font-size: 0.9rem;
    padding: 5px;
    text-align: center;
    /*background-color:#fff8db;
    color: #7a5800;
    border-bottom:#ffe58f 1px solid;*/
    background-color:#e6f0fa;
    color: #406089;
    border-bottom:#c9e0f5 1px solid;
}

.itainfoupsellwrapper {
    padding: 30px 10px 30px 10px;
    box-sizing: border-box;
}

.upsell-product-card {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.upsell-headline {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.upsell-image-wrapper {
    width: 100%;
    text-align: center;
}

.upsell-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.upsell-description {
    font-size: 1rem;
    color: #333;
    text-align: left;
    line-height: 1.5;
}
.upsell-pricing-box {
    text-align: center;
    margin: 50px 0 20px 0;
}

.payment-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
}

.original-price {
    font-size: 0.95rem;
    color: #c44;
    margin-top: 5px;
}

.strikethrough {
    text-decoration: line-through;
    color: #c44;
}

.fixed-btn-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    justify-content: center;
}

.fixed-btn-wrapper .btn-accept {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    margin: 0; /* ✅ Ensure it's not adding any weird offset */
}

.btn-accept {
    position: relative;
}

.fixed-btn-wrapper.unfixed {
    position: static;
    box-sizing:border-box;
    box-shadow: none;
    padding: 0;
}
.btn-decline{
    padding-bottom:50px;
}

/*THANK YOU PAGE STYLE*/

.thankyou-wrapper {
    box-sizing: border-box;
}
.thankyou-product-card {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}
.thankyou-title {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8rem;
}

.order-details {
    margin-bottom: 20px;
    font-size: 1rem;
}

.order-details p {
    margin: 4px 0;
}
.order-details .order-label {
    font-weight: bold;
    color: #555;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-block {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding:0px;
    font-weight:700;
}

.status-tag {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
}

/*login box */
.login-access-box {
    border: 1px solid #e1eaff;
    background-color: #f8fbff;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-left: auto;
    margin-right: auto;
}

.login-access-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.login-button {
    display: inline-block;
    background-color: #1d2b53;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(29, 43, 83, 0.15);
}

.login-button:hover {
    opacity: 0.8;
}

.login-note {
    margin-top: 18px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Yellow/amber tech style for pending */
.status-tag.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Green/blue tech style for ready */
.status-tag.ready {
    background: #e0f8f4;
    color: #10685b;
    border: 1px solid #b3e8dd;
}
.delivery-info {
    background: #fff3cd;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    font-weight: bold;
    color: #856404;
    font-size: 1rem;
}
.delivery-info.pending {
    background: #fff3cd; /* soft yellow */
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
    color: #856404;
    font-size: 1rem;
}

.delivery-info.ready {
    background: #e0f8f4; /* light techy blue/green */
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
    color: #10685b;
    font-size: 1rem;
}
/* Responsive fixes for everything */
@media (max-width: 450px) {
    .thankyou-title {
        font-size: 1.3rem;
    }

    .product-header h3 {
        font-size: 1rem;
    }

    .status-tag {
        font-size: 0.8rem;
    }

    .delivery-info,
    .order-details {
        font-size: 0.8rem !important;
    }

    .order-details .order-label {
        font-size: 0.8rem !important;
    }
}

/* Disclaimer Banner */
.disclaimer-banner {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    text-align: center;
    margin: -30px -10px 20px -10px;
}

.disclaimer-text {
    color: #666;
    font-size: 12px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

/* CRIF STYLE */
/* === CRIF Form Unified Styling === */
.itainfolpinput-wrapper{
    width:100%;
    max-width:600px;
    margin:auto;
    padding: 10px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;

}

.form-container {
    max-width: 100%;
    margin:auto;
}

/* Labels + Inputs */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #fff;
    color: #111;
    box-sizing: border-box;
}

input::placeholder {
    color: #6b6b6b;
}

input:focus {
    border-color: #999;
    outline: none;
}

/* Select dropdown styling - matching input fields exactly */
select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #fff;
    color: #111;
    box-sizing: border-box;
    /* Force our custom styling instead of iPhone's default */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: white !important;
}

select:focus {
    border-color: #999;
    outline: none;
}

/* Persona / Azienda Buttons */
.inline-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.inline-button {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: #333;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    border-radius: 4px;
}

.inline-button.active {
    background-color: var(--button-color);
    color: #fff;
}

/* Main Submit Button */
.submitform-button {
    width: 100%;
    padding: 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--button-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.submitform-button:hover {
    opacity:0.95;
}

.hidden {
    display: none;
}

/* Responsive Layouts */
@media (max-width: 750px) {
    .form-group-inline {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .half-width {
        width: 100%;
    }


}

@media (min-width: 751px) {
    .form-group-inline {
        display: flex;
        gap: 2%; /* better than px, scales with container */
    }

    .half-width {
        width: 49%;
    }
}


/*LPCRIF CHECKOUT */

    /* ========== GENERAL LAYOUT ========== */
    body.loading {
        overflow: hidden;
    }

    .funnel-center-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
    }

    .loader-reveal {
        display: flex;
        flex-direction: column;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.6s ease;
    }

    .loader-reveal.visible {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    /* ========== LOADER SECTION ========== */
    #loader-wrapper {
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }

    .loader-box {
        width: 100%;
        padding: 10px;
        border: 1px solid #dcdcdc;
        border-radius: 6px;
        background: #ffffff;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
        text-align: center;
        box-sizing: border-box;
    }

    .header-title {
        font-size: 20px;
        font-weight: 600;
        padding: 0px;
        margin-top: 0px;
    }

    .horizontal-loader-container {
        margin-top: 0px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .progress-feedback {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .progress-percentage {
        font-size: 16px;
        font-weight: 600;
        color: #000;
        padding-top: 3px;
        padding-bottom: 4px;
    }

    .tick {
        display: none;
        width: 24px;
        height: 24px;
        margin: 0 auto;
    }

    .progress-bar-bg {
        width: 100%;
        height: 10px;
        background-color: #f0f0f0;
        border-radius: 6px;
        overflow: hidden;
        position: relative;
        margin-top: 10px;
    }

    .progress-bar-fill {
        height: 100%;
        width: 0%;
        transition: width 0.1s linear;
    }

    /* ========== SOCIAL PROOF IMAGE ========== */
    .socialproof {
        max-width: 150px;
        width: 100%;
        margin-top: 20px;
    }

    /* ========== PRICING BOX ========== */

    .pricingbox {
        text-align: center;
        padding: 10px 0;
        margin-bottom: 10px;
        height: auto;
    }

    .pricing-title {
        color: #000;
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 6px 0;
    }

    .discount-badge {
        border: 1px solid red;
        background-color: #FFE6ED;
        color: red;
        font-weight: 700;
        font-size: 10px;
        border-radius: 5px;
        width: fit-content;
        padding: 2px 6px;
        margin: 0 auto 8px auto;
    }

    .pricing-amount {
        color: #000;
        font-weight: 600;
        font-size: 16px;
        margin: 0;
    }

    .original-price {
        color: #cfcfcf;
        text-decoration: line-through;
        font-weight: 600;
        margin-left: 6px;
    }

    /* ========== REPORT SUMMARY BOX ========== */
    .report-summary-box {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        padding: 10px;
        margin-top: 10px;
        border: 1px solid #dcdcdc;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }

    .report-image {
        height: 120px;
        width: auto;
        max-width: 120px;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .report-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        flex: 1;
    }

    .report-title {
        font-size: 20px;
        font-weight: 600;
        color: #000;
        margin: 0 0 4px 0;
    }

    .report-subtext {
        font-size: 15px;
        font-weight: 500;
        color: #000;
        margin: 0;
        line-height: 1.4;
    }

    .report-subtext-mobile {
        display: none;
    }

    /* ========== CHECKOUT BOX ========== */
    #reportgeneratedappear {
        width: 100%;
    }

    .checkout-box-wrapper {
        width: 100%;
        max-width: 600px;
        padding: 10px;
        border: 1px solid #dcdcdc;
        border-radius: 6px;
        background: #ffffff;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
        margin: auto;
        margin-top: 10px;
    }
    .checkout-security-title{
        margin-top:10px;
        font-weight:600;
        font-size:14px;
    }
    .checkout-security-subtitle{
        margin-top:10px;
        font-weight:400;
        font-size:12px;
        margin-bottom:10px;
    }

.trialdisclaimerbox {
    width: 100%;
    max-width: 600px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    margin: 14px auto 0;
    font-size: 0.92rem;
    color:#555;
}

.trial-disclaimer-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #888;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.trialfeaturelist {
    list-style: none;
    padding-left: 8px;
    margin: 0;
}

.trialfeaturelist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
    line-height: 1.45;
    font-size:0.8rem;
}

.trialfeaturelist .trialtick {
    color: #888;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}
    /* ========== MEDIA QUERIES ========== */
    @media (max-width: 768px) {
        .header-title {
            font-size: 18px;
        }
    }

    @media (max-width: 480px) {
        .report-title {
            font-size: 18px;
        }

        .report-subtext-desktop {
            display: none;
        }

        .report-subtext-mobile {
            display: block;
        }

        .report-image {
            height: 90px;
            margin-right: 14px;
        }
    }

    @media (max-width: 350px) {
        .report-title {
            font-size: 16px;
        }

        .report-subtext {
            font-size: 13px;
        }
    }

/*LANDING PAGE HEADER AND DESCRIPTION*/

.lp-heading-wrapper {
    text-align: center;
    margin-top:10px;
    margin-bottom:20px;
}

.lp-heading-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom:10px;
}

.lp-heading-subtext {
    font-size: 14px;
    color: #666;
    margin-top:10px;
    margin-bottom: 10px;
}

.lp-heading-divider {
    width: 100%;
    max-width:120px;
    height: 3px;
    background-color: #ccc;
    margin: 0 auto;
    border-radius: 1px;
}

/* ========== MEMBER AREA STYLES ========== */

/* Member Header */
.member-header {
    color: var(--font-color);
    background-color: var(--header-bg);
    padding: 10px 0;
}

.member-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Member Navigation - Separate section with white background */
.member-nav {
    background: white;
    border-bottom: 1px solid #e0e6ed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
}

.member-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.member-nav li {
    margin: 0;
}

.member-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 14px;
    border-radius: 6px;
    margin: 0 4px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
}

.member-nav a:hover {
    background: #edf2f7;
    color: #2d3748;
}

.member-nav a.active {
    background: var(--button-color);
    color: white;
}

.member-profile {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 15px;
}

.member-email {
    background: #f7fafc;
    color: #4a5568;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.logout-btn {
    background: #e53e3e;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-size: 14px;
    border: 1px solid #e53e3e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout-btn:hover {
    background: #c53030;
}

/* Member Content */
.member-content {
    padding: 40px 20px;
    background: #f8f9fa;
}

.member-footer {
    background: white;
    color: #6a737d;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #e1e4e8;
    font-size: 14px;
    margin-top: auto;
}

.member-footer a {
    color: #6a737d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-footer a:hover {
    color: var(--button-color);
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #e0e6ed;
}

.content-title {
    color: #2d3748;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-primary {
    background: #edf2f7;
    color: #4a5568;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: var(--button-color);
    color: white;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.dashboard-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.dashboard-card-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: var(--button-color);
}

.dashboard-card h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
}

.dashboard-card p {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Business Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.tool-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.tool-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.tool-card h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.tool-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Template Categories */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.template-category {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.template-category-header {
    color: white;
    padding: 20px;
}

.template-category-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.template-category-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.template-list {
    padding: 20px;
}

.template-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-item:last-child {
    border-bottom: none;
}

.template-item span {
    font-weight: 500;
}

.download-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* Search and Filter */
.search-filter-bar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.search-filter-content {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-filter-content input,
.search-filter-content select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-filter-content input {
    flex: 1;
    min-width: 250px;
}

/* Help/Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.support-card {
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.support-card svg {
    width: 48px;
    height: 48px;
    fill: white;
    margin-bottom: 15px;
}

.support-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.support-card p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 14px;
}

.support-card button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* FAQ Styles */
.faq-item-member {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question-member {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-member h4 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.faq-icon {
    font-size: 20px;
    color: #666;
}

.faq-content-member {
    padding: 20px;
    background: white;
    display: none;
}

.faq-content-member p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-member {
    margin-bottom: 20px;
}

.form-group-member label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group-member input,
.form-group-member select,
.form-group-member textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group-member textarea {
    resize: vertical;
}

/* Stats Display */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 28px;
    font-weight: 700;
}

.stat-item p {
    margin: 0;
    color: #666;
}

/* Background Colors for Template Categories */
.template-legal { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.template-commercial { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.template-hr { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.template-finance { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

/* Tool Icon Backgrounds */
.tool-icon-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.tool-icon-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.tool-icon-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.tool-icon-4 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.tool-icon-5 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.tool-icon-6 { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }

/* Support Card Backgrounds */
.support-chat { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.support-email { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.support-phone { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

/* Success/Error Messages */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Info Boxes */
.info-box {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.info-box-gray {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

/* Mobile Responsiveness for Member Area */
@media (max-width: 768px) {
    .member-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .member-nav a {
        padding: 12px 16px;
        margin: 2px 4px;
        font-size: 13px;
        justify-content: center;
    }

    .member-profile {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .member-email {
        margin-right: 0;
        font-size: 12px;
        text-align: center;
    }

    .member-header {
        padding: 2rem 0;
    }

    .member-title {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .member-header-content {
        flex-direction: column;
        gap: 10px;
    }

    .content-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid,
    .tools-grid,
    .template-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        padding: 20px;
    }
}

/* LOGIN PAGE STYLING - Matching checkout error design exactly */
.login-error-box {
    background-color: #fef6f6; /* Light red background - matches checkout-error */
    color: #400404; /* Text color - matches checkout-error */
    border: 1px solid #fdd8d8; /* Border - matches checkout-error */
    padding: 12px; /* Padding - matches checkout-error */
    border-radius: 6px; /* Border radius - matches checkout-error */
    font-size: 14px; /* Font size - matches checkout-error */
    margin-bottom: 15px; /* Margin - matches checkout-error */
    text-align: center; /* Text align - matches checkout-error */
    font-weight: 500; /* Font weight - matches checkout-error */
}

.login-success-box {
    background-color: #f0f9ff;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

/* Field validation messages - matching checkout form validation */
.field-validation-message {
    color: #dc2727; /* Matches validation-message in checkout */
    font-size: 12px; /* Matches validation-message in checkout */
    margin-top: 5px;
    display: block;
}

/* Login help box styling */
.login-help-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.login-help-title {
    font-weight: 600;
    font-size: 16px;
    color: #1c1c1c;
    margin-bottom: 12px;
    margin-top: 0;
}

.login-help-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.5;
}

.login-help-contact {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0;
}

.support-email-link {
    color: #2b5aa8;
    text-decoration: none;
    font-weight: 500;
}

.support-email-link:hover {
    text-decoration: underline;
}
