/* MyPersonas Landing Page Styles */
.docs-mypersonas {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: #374151; /* gray-700 */
    line-height: 1.75;
    background: #fff;
}

.docs-mypersonas-wrapper {
    padding: 40px 0;
    background-color: transparent;
}

/* Container box styling matching typical tailwind classes */
.docs__content {
    background-color: #ffffff;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    border: 2px solid #f3f4f6;
    padding: 2rem 3rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    max-width: 1020px;
    margin-inline: auto;
    flex: 1 1 0%;
    overflow: auto;
}

.docs__content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: #111827; /* gray-900 */
    line-height: 1.2;
}

.docs__content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1f2937; /* gray-800 */
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.docs__content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.docs__content a {
    color: #2563eb; /* blue-600 */
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.docs__content a:hover {
    color: #1d4ed8; /* blue-700 */
    text-decoration: underline;
}

.docs__content strong {
    font-weight: 600;
    color: #111827;
}

/* Listes */
.docs__content ul {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

/* List with icon */
.docs__content .ul-with-icon li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    display: flex;
    align-items: flex-start;
}

.docs__content .ul-with-icon li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    margin-right: 0.75rem;
    color: #10b981; /* success green */
    font-size: 1.25rem;
    background-image: none;
    flex-shrink: 0;
    line-height: inherit;
    position: static;
    display: inline-block;
}

/* List in a box */
.docs__content .ul-box li {
    display: block;
    padding: 0.875rem 1.25rem;
    margin-bottom: 0.75rem;
    background-color: #f9fafb; /* gray-50 */
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 0.5rem; /* rounded-lg */
    font-size: 1.125rem;
}

.docs__content .ul-box li strong {
    display: inline-block;
    min-width: 140px;
    color: #374151; /* gray-700 */
}

/* Additional layout bits */
@media (max-width: 768px) {
    .pst_toppadder60 { padding-top: 30px !important; }
    .pst_bottompadder90 { padding-bottom: 40px !important; }
    
    .docs__content {
        padding: 1.5rem; /* Smaller inner padding */
        margin-block: 1rem; /* Smaller margin top/bottom */
        border-radius: 0.75rem; 
        border: none !important; box-shadow: none !important; padding-inline: 0 !important;
    }
    .docs__content h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem !important;
    }
    .docs__content h2 {
        font-size: 1.35rem;
    }
    .docs__content .ul-box li strong {
        display: block;
        margin-bottom: 0.25rem;
    }
    .docs__content img[alt="MyPersonas Logo"] {
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 500px) { .docs__content { padding: 0; margin-block: 0; }
    .docs__content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .docs__content p, .docs__content .ul-with-icon li, .docs__content .ul-box li {
        font-size: 1rem; /* Smaller text for narrow displays */
    }
    .docs__content .ul-with-icon li::before {
        font-size: 1.125rem;
        margin-right: 0.5rem;
    }
}

/* Buttons & CTA */
.cta-box {
    margin-top: 3.5rem;
    background: #f9fafb;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.cta-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.cta-box p {
    color: #4b5563;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-inline: auto;
}
.cta-flex {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.docs__content .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb;
    color: #ffffff !important;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}
.docs__content .btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.4);
}
.docs__content .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #374151 !important;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.docs__content .btn-secondary:hover {
    background-color: #f9fafb;
    color: #111827 !important;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}
.docs-screenshot {
    max-width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: block;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.docs-screenshot-link {
    display: block;
    text-decoration: none;
}
.docs-screenshot-link:hover .docs-screenshot {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
    .cta-box {
        padding: 1.5rem 1.25rem;
    }
    .cta-flex {
        flex-direction: column;
        gap: 0.75rem;
    }
    .docs__content .btn-primary, .docs__content .btn-secondary {
        width: 100%;
    }
}

/* Fancybox rounded corners for image */
.fancybox-image {
    border-radius: 16px !important;
}

/* WPForms inside Modal Styling */
#contactModal .modal-content {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#contactModal .modal-header {
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contactModal .modal-title {
    font-weight: 700;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.2;
}

#contactModal .modal-body {
    padding: 2rem;
}

#contactModal .wpforms-container {
    margin: 0 !important;
}

#contactModal .wpforms-field-label {
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
}

#contactModal input[type="text"],
#contactModal input[type="email"],
#contactModal input[type="tel"],
#contactModal textarea {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

#contactModal input:focus,
#contactModal textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    outline: none !important;
}

#contactModal .wpforms-field-sublabel {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    margin-top: 0.25rem !important;
}

#contactModal .wpforms-submit-container {
    margin-top: 1.5rem !important;
    padding: 0 !important;
    text-align: right !important;
}

#contactModal button.wpforms-submit {
    background-color: #2563eb !important;
    color: #ffffff !important;
    padding: 0.875rem 2rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    border: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3) !important;
}

#contactModal button.wpforms-submit:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.4) !important;
}

#contactModal .wpforms-field {
    margin-bottom: 1.25rem !important;
}

/* Hidden fields */
#contactModal .wpforms-field-hp,
#contactModal [style*="position: absolute"] {
    margin-bottom: 0 !important;
}

@media (max-width: 600px) {
    #contactModal .modal-body {
        padding: 1.25rem;
    }
    #contactModal .modal-header {
        padding: 1rem 1.25rem;
    }
    #contactModal button.wpforms-submit {
        width: 100% !important;
    }
}

/* Align Form Elements */
#contactModal .wpforms-submit-container {
    text-align: left !important;
}

#contactModal button.wpforms-submit {
    padding: 1rem 3.5rem !important; /* Wider button */
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

/* Add icon to button */
#contactModal button.wpforms-submit::after {
    content: "\f1d8"; /* FontAwesome paper-plane */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

#contactModal .cf-turnstile {
    margin-bottom: 1rem !important;
}




/* Fade-in effect */
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.docs-mypersonas {
    animation: fadeInContent 0.8s ease-out forwards;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99999 !important;
    border-top: 1px solid #e5e7eb;
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        justify-content: center;
        /* Start with some offset to slide in */
        transform: translateY(100%);
    }
    
    .mobile-sticky-cta.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-sticky-cta .btn-secondary {
        width: 100%;
        margin: 0;
        padding: 0.85rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600;
        background-color: #007bff;
        color: #ffffff !important;
        border: none;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .mobile-sticky-cta .btn-secondary:active {
        transform: scale(0.98);
        background-color: #0056b3;
    }
    
    .gallery-area {
        padding-bottom: 80px !important;
    }
}
