/* ========================================
 * LOGO SPÉCIFIQUE JNSMAIL
 * ======================================== */
.header .logo .logo-text {
    color: #FE4E6E !important;
    font-weight: var(--font-weight-bold);
}

/* ========================================
 * SIDEBAR DES MODULES
 * ======================================== */
.modules-sidebar {
    position: fixed;
    right: 20px;
    top: 60%;
    transform: translateY(-50%);
    width: 150px;
    background: #2a2a2a;
    border-radius: 16px;
    padding: 8px;
    border: 2px solid var(--color-accent);
    z-index: 100;
    box-shadow: 0 0 16px rgba(140, 70%, 50%, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.sidebar-title {
    display: none;
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 0.5px;
}

.module-item-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5px;
    padding: 0.5px;
    border-radius: 4px;
    transition: all var(--transition-normal);
    cursor: pointer;
    background: #333333;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.module-item-sidebar:hover {
    background: #404040;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.module-icon-sidebar {
    width: 24px;
    height: 24px;
    object-fit: contain;
    position: relative;
    background: #2a2a2a;
    border-radius: 4px;
    padding: 2px;
}

.module-icon-sidebar::after {
    content: '';
    position: absolute;
    top: -0.5px;
    right: -0.5px;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-size: 6px;
    background-position: center;
    background-repeat: no-repeat;
}

.module-name {
    color: var(--color-text-primary);
    font-size: 0.65rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
}

/* ========================================
 * NAVIGATION SPÉCIFIQUE JNSMAIL
 * ======================================== */
.jnsmail-content .navigation .nav-link {
    padding: 0.75rem 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    border: 2px solid var(--color-accent);
    border-radius: 25px;
    background-color: transparent;
    transition: all var(--transition-normal);
    font-weight: var(--font-weight-regular);
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
}

.jnsmail-content .navigation .nav-link:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
    transform: translateY(-2px);
    text-decoration: none;
}

.jnsmail-content .navigation .nav-link:active {
    transform: translateY(0);
}

/* S'assurer que les liens sont cliquables */
.jnsmail-content .navigation a {
    pointer-events: auto;
    cursor: pointer;
}

/* ========================================
 * PAGE JNSMAIL - STYLES SPÉCIFIQUES
 * ======================================== */

/* ========================================
 * 1. CONTENU PRINCIPAL
 *     - Styles pour le contenu de la page JnsMail
 * ======================================== */
.jnsmail-content {
    margin-top: 80px;
    min-height: calc(100vh - 144px);
}

/* ========================================
 * 2. SECTION HÉRO JNSMAIL
 *     - Styles pour la section principale de JnsMail
 * ======================================== */
.jnsmail-hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 18px;
    margin-bottom: var(--spacing-xl);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-icon {
    width: 108px;
    height: 108px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.hero-icon-svg {
    width: 72px;
    height: 72px;
    display: block;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #e60026 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 16px rgba(230, 0, 38, 0.45));
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-medium);
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-primary);
    max-width: 450px;
    margin: 0 auto;
}

/* ========================================
 * 3. SECTION FONCTIONNALITÉS
 *     - Styles pour la grille des fonctionnalités
 * ======================================== */
.features-section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, #ffffff 0%, #e60026 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 12px rgba(230, 0, 38, 0.35));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #8c8c8c 100%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1080px;
    margin: 0 auto;
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(254, 78, 110, 0.2);
    border-radius: 18px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.6px;
    background: linear-gradient(90deg, #FE4E6E 0%, #8c8c8c 100%);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
    border-color: rgba(254, 78, 110, 0.4);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #FE4E6E 0%, #8c8c8c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.8rem;
    color: var(--color-text-primary);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(254, 78, 110, 0.4);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--color-background);
}

.feature-card h3 {
    font-size: 1.17rem;
    font-weight: var(--font-weight-semibold);
    color: #FE4E6E;
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.855rem;
}

/* ========================================
 * 4. SECTION AVANTAGES
 *     - Styles pour la liste des avantages
 * ======================================== */
.benefits-section {
    padding: var(--spacing-xxl) 0;
    background-color: rgba(254, 78, 110, 0.05);
    border-radius: 18px;
    margin: var(--spacing-xxl) 0;
}

.benefits-content {
    max-width: 810px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 13.5px;
    border: 1px solid rgba(254, 78, 110, 0.1);
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #FE4E6E 0%, #8c8c8c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.26rem;
    font-weight: var(--font-weight-semibold);
    color: #FE4E6E;
    margin-bottom: var(--spacing-sm);
}

.benefit-text p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ========================================
 * 5. SECTION CTA
 *     - Styles pour l'appel à l'action
 * ======================================== */
.cta-section {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: #FE4E6E;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 13.5px rgba(254, 78, 110, 0.3);
}

.cta-content p {
    font-size: 1.08rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 9px;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-normal);
    font-size: 0.99rem;
}

.cta-button.primary {
    background-color: #FE4E6E;
    color: var(--color-text-primary);
}

.cta-button.primary:hover {
    background-color: #E63946;
    transform: translateY(-2.7px);
    box-shadow: 0 9px 22.5px rgba(254, 78, 110, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    color: #FE4E6E;
    border: 2px solid #FE4E6E;
}

.cta-button.secondary:hover {
    background-color: #FE4E6E;
    color: var(--color-text-primary);
    transform: translateY(-2.7px);
}

/* ========================================
 * 6. FOOTER
 *     - Styles pour le footer de la page
 * ======================================== */
.footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-text-secondary);
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xxl);
}

/* ========================================
 * 7. RESPONSIVE DESIGN
 *     - Adaptations pour les écrans mobiles
 * ======================================== */



@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.08rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .jnsmail-hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-icon-svg {
        width: 72px;
        height: 72px;
    }
    
    .feature-card {
        padding: var(--spacing-md);
    }
    
    .benefit-item {
        padding: var(--spacing-md);
    }
}


/* ========================================
 * RESPONSIVE GLOBAL (ajouté pour adapter sur tout écran)
 * ======================================== */

/* Titre de section fluide */
.section-title {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
}

/* Réduit le padding du hero et la marge du contenu sur tablettes */
@media (max-width: 992px) {
    main[class$="-content"] {
        margin-top: 110px !important;
    }

    /* Sidebar latérale transformée en barre horizontale en bas */
    .modules-sidebar {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        max-height: 110px;
        border-radius: 16px 16px 0 0;
        padding: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
        z-index: 900;
    }

    .modules-list {
        flex-direction: row !important;
        gap: 6px !important;
        align-items: center;
        flex-wrap: nowrap;
        padding: 4px;
    }

    .module-item-sidebar {
        flex: 0 0 auto;
        min-width: 72px;
        padding: 6px !important;
    }

    .module-icon-sidebar {
        width: 28px !important;
        height: 28px !important;
    }

    .module-name {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    /* Evite que le contenu soit masqué par la barre du bas */
    main[class$="-content"] {
        padding-bottom: 130px;
    }
}

/* Hero des sous-pages */
@media (max-width: 768px) {
    .hero-icon {
        width: 84px !important;
        height: 84px !important;
    }

    .hero-icon-svg {
        width: 56px !important;
        height: 56px !important;
    }

    .cta-content h2 {
        font-size: clamp(1.4rem, 4vw + 0.5rem, 2.25rem);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

    .cta-button {
        justify-content: center;
        width: 100%;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-sm) !important;
        padding: var(--spacing-md) !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    main[class$="-content"] {
        margin-top: 100px !important;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw + 0.5rem, 2.25rem) !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        padding: 0 8px;
    }

    .feature-card {
        padding: var(--spacing-md) !important;
    }

    .modules-sidebar {
        max-height: 96px;
    }

    .module-item-sidebar {
        min-width: 64px;
    }
}


/* ==== UPGRADES ==== */
/* ========================================
 * JNSMAIL — UPGRADES (illustrations, layout)
 * ======================================== */

body { opacity: 1 !important; }

.jnsmail-content .container {
    max-width: 1240px;
}

/* ----- Hero upgrade ----- */
.jnsmail-hero {
    padding: calc(var(--spacing-xl) + 2rem) var(--spacing-md) var(--spacing-xl);
    text-align: left;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(254, 78, 110, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(254, 78, 110, 0.08) 0%, transparent 55%),
        linear-gradient(135deg, rgba(30, 30, 30, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(254, 78, 110, 0.25);
    border-radius: 24px;
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    position: relative;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--spacing-lg);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-text-col {
    text-align: left;
    max-width: 100%;
    align-self: start;
    padding-top: 0.35rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(254, 78, 110, 0.18), rgba(254, 78, 110, 0.06));
    border: 1px solid rgba(254, 78, 110, 0.4);
    color: #ffb3c1;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(254, 78, 110, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}
.hero-eyebrow .hero-eyebrow-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border-radius: 6px;
    padding: 0;
    box-shadow: none;
}
.hero-eyebrow .hero-eyebrow-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: none;
}
.hero-eyebrow::before { display: none; }

.jnsmail-hero .hero-icon {
    display: none;
}

.jnsmail-hero .hero-title {
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3.2rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(254, 78, 110, 0.3);
}

.jnsmail-hero .hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.85;
    margin-bottom: 0.9rem;
}

.jnsmail-hero .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 0 1.75rem;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.hero-btn.primary {
    background: linear-gradient(135deg, #FE4E6E, #C32748);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(254, 78, 110, 0.35);
}
.hero-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(254, 78, 110, 0.5); }
.hero-btn.ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #FE4E6E;
    border: 1px solid rgba(254, 78, 110, 0.5);
}
.hero-btn.ghost:hover { background: rgba(254, 78, 110, 0.12); }

.hero-meta {
    display: flex; gap: 24px; flex-wrap: wrap;
    color: var(--color-text-secondary);
    font-size: 0.82rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: #FE4E6E; }

.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-self: start;
}
.hero-visual img { width: 100%; height: auto; max-width: 640px; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5)); }

/* ----- Stats strip ----- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(254, 78, 110, 0.2);
    border: 1px solid rgba(254, 78, 110, 0.25);
    border-radius: 18px;
    overflow: hidden;
    margin: 0 auto var(--spacing-xl);
    max-width: 1120px;
}
.stat-cell { background: linear-gradient(180deg, #141414, #0f0f0f); padding: 1.3rem 1.2rem; text-align: left; }
.stat-cell .stat-value { font-size: 1.8rem; font-weight: 700; color: #FE4E6E; line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat-cell .stat-label { color: var(--color-text-secondary); font-size: 0.78rem; letter-spacing: 0.5px; text-transform: uppercase; }

/* ----- Features with illustrations ----- */
.features-section .section-title { text-align: left; }
.section-kicker {
    display: block;
    color: #FE4E6E;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}
.section-sub { color: var(--color-text-secondary); max-width: 640px; margin-bottom: var(--spacing-lg); font-size: 0.98rem; }

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: var(--spacing-md);
    gap: 1.5rem;
    max-width: 1120px;
}

.feature-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.55), rgba(15, 15, 15, 0.55));
    border: 1px solid rgba(254, 78, 110, 0.18);
    border-radius: 20px;
    padding: 0;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-card .feature-illus {
    width: 100%;
    aspect-ratio: 280 / 200;
    background: #0f0f0f;
    display: block;
    border-bottom: 1px solid rgba(254, 78, 110, 0.15);
}
.feature-card .feature-illus img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card .feature-body { padding: 1.25rem 1.4rem 1.5rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.55; color: var(--color-text-secondary); }
.feature-card:hover {
    border-color: rgba(254, 78, 110, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.feature-card::before { display: none; }

/* ----- Showcase ----- */
.showcase-section {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1120px;
    margin: var(--spacing-xxl) auto;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(254, 78, 110, 0.06), rgba(10, 10, 10, 0.6));
    border: 1px solid rgba(254, 78, 110, 0.2);
    border-radius: 24px;
}
.showcase-visual img { width: 100%; height: auto; border-radius: 16px; }
.showcase-text h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem); color: #FE4E6E; margin-bottom: 0.9rem; letter-spacing: -0.01em; line-height: 1.15; }
.showcase-text p { color: var(--color-text-secondary); margin-bottom: 1rem; line-height: 1.65; }
.showcase-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 10px; }
.showcase-list li { display: flex; align-items: flex-start; gap: 10px; color: #ffffff; font-size: 0.92rem; }
.showcase-list li::before {
    content: ''; flex-shrink: 0; margin-top: 6px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #FE4E6E;
    box-shadow: 0 0 10px rgba(254, 78, 110, 0.7);
}

/* ----- Benefits ----- */
.benefits-section { background: transparent; padding: var(--spacing-xl) 0; margin: 0 auto; max-width: 1120px;}
.benefits-section .section-title { text-align: left; }
.benefits-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 1120px; }
.benefit-item { display: block; text-align: left; padding: 1.6rem; border-radius: 18px; background: linear-gradient(180deg, rgba(30, 30, 30, 0.55), rgba(15, 15, 15, 0.55)); border: 1px solid rgba(254, 78, 110, 0.18); margin: 0; }
.benefit-icon { margin-bottom: 1rem; border-radius: 14px; width: 48px; height: 48px; font-size: 1.1rem;}
.benefit-text h3 { font-size: 1.05rem; }
.benefit-text p { font-size: 0.88rem; }

/* ----- CTA ----- */
.cta-section {
    max-width: 1120px;
    margin: var(--spacing-xxl, 5rem) auto 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 24px;
    background:
      radial-gradient(circle at 20% 50%, rgba(254, 78, 110, 0.22), transparent 60%),
      radial-gradient(circle at 80% 50%, rgba(254, 78, 110, 0.12), transparent 60%),
      linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(254, 78, 110, 0.3);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .showcase-section { grid-template-columns: 1fr; }
    .benefits-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .jnsmail-hero { padding: 2.5rem 1rem; }
    .hero-visual img { max-width: 100%; }
}
@media (max-width: 480px) {
    .stats-strip { grid-template-columns: 1fr; }
    .stat-cell { text-align: center; }
    .stat-cell .stat-value { font-size: 1.6rem; }
}

/* ========================================
 * RESPONSIVE FIXES - JNSMAIL
 * ======================================== */
.jnsmail-content,
.jnsmail-content * {
    box-sizing: border-box;
}

.jnsmail-content {
    overflow-x: hidden;
    overflow-x: clip;
}

.jnsmail-content > .container {
    width: min(100%, 1240px);
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.jnsmail-hero .hero-title,
.jnsmail-hero .hero-visual,
.jnsmail-hero .hero-visual img {
    opacity: 1;
    transform: none;
    animation: none;
}

.jnsmail-hero .hero-subtitle {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.jnsmail-hero .hero-description {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.jnsmail-hero .hero-title {
    display: block;
    padding-left: 0;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.jnsmail-hero .hero-title::before {
    display: none;
}

.jnsmail-hero .hero-description {
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-wrap: pretty;
}

.jnsmail-hero .hero-layout,
.stats-strip,
.features-grid,
.showcase-section,
.benefits-content {
    width: 100%;
}

.jnsmail-content .section-title {
    position: relative;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.feature-card,
.benefit-item,
.showcase-section,
.cta-section {
    min-width: 0;
}

.feature-card .feature-illus img,
.showcase-visual img,
.hero-visual img {
    max-width: 100%;
}

.hero-btn,
.cta-button,
.offers-card {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .jnsmail-hero {
        padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: clamp(1.25rem, 3vw, 2rem);
    }

    .hero-visual img {
        max-width: 520px;
    }
}

@media (max-width: 992px) {
    .jnsmail-content {
        margin-top: 88px !important;
        padding-bottom: 118px !important;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-col {
        text-align: center;
        max-width: 720px;
        margin-inline: auto;
    }

    .jnsmail-hero .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        align-items: center;
    }

    .hero-visual img {
        max-width: min(100%, 560px);
    }

    body .modules-sidebar {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 106px !important;
        padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right)) !important;
        border-radius: 18px 18px 0 0 !important;
        transform: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        z-index: 900 !important;
    }

    body .modules-sidebar .modules-list {
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 0.55rem !important;
        min-width: max-content !important;
    }

    body .modules-sidebar .module-item-sidebar {
        width: 82px !important;
        min-width: 82px !important;
        min-height: 72px !important;
        padding: 0.62rem 0.45rem !important;
        transform: none !important;
    }

    body .modules-sidebar .module-item-sidebar:hover {
        transform: translateY(-2px) !important;
    }

    body .modules-sidebar .module-icon-sidebar,
    body .modules-sidebar .module-item-sidebar:hover .module-icon-sidebar,
    body .modules-sidebar .module-item-sidebar.active .module-icon-sidebar,
    body .modules-sidebar .module-item-sidebar[aria-current="page"] .module-icon-sidebar {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
    }

    body .modules-sidebar .module-name {
        font-size: 0.58rem !important;
        line-height: 1.08 !important;
        white-space: normal !important;
    }
}

@media (max-width: 768px) {
    .jnsmail-content > .container {
        padding-inline: 0.9rem;
    }

    .jnsmail-hero {
        border-radius: 18px;
        margin-bottom: 2rem;
    }

    .jnsmail-hero .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        line-height: 1.08;
    }

    .jnsmail-hero .hero-title br {
        display: none;
    }

    .hero-eyebrow {
        max-width: 100%;
        padding-right: 14px;
        font-size: 0.68rem;
        letter-spacing: 1px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding-inline: 1rem;
        text-align: center;
    }

    .hero-meta {
        gap: 0.55rem;
    }

    .hero-meta span {
        justify-content: center;
        min-height: 34px;
        padding: 0.45rem 0.65rem;
        border: 1px solid rgba(254, 78, 110, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.035);
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-cell {
        padding: 1rem;
        text-align: center;
    }

    .features-section,
    .benefits-section {
        padding-block: 2.5rem;
    }

    .features-section .section-title,
    .benefits-section .section-title,
    .section-kicker,
    .section-sub {
        text-align: center;
        margin-inline: auto;
    }

    .showcase-section,
    .cta-section {
        padding: 1.2rem;
        border-radius: 18px;
    }
}

@media (max-width: 520px) {
    .jnsmail-content {
        margin-top: 78px !important;
        padding-bottom: 104px !important;
    }

    .jnsmail-hero {
        padding: 1.5rem 0.9rem;
    }

    .hero-eyebrow {
        width: 100%;
        justify-content: center;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .feature-card .feature-illus {
        aspect-ratio: 16 / 10;
    }

    .feature-card .feature-body,
    .benefit-item {
        padding: 1rem !important;
    }

    .benefit-icon {
        margin-inline: auto;
    }

    .benefit-text {
        text-align: center;
    }

    body .modules-sidebar {
        max-height: 94px !important;
        padding-block: 7px calc(7px + env(safe-area-inset-bottom)) !important;
    }

    body .modules-sidebar .module-item-sidebar {
        width: 72px !important;
        min-width: 72px !important;
        min-height: 64px !important;
        padding: 0.52rem 0.35rem !important;
    }

    body .modules-sidebar .module-icon-sidebar,
    body .modules-sidebar .module-item-sidebar:hover .module-icon-sidebar,
    body .modules-sidebar .module-item-sidebar.active .module-icon-sidebar,
    body .modules-sidebar .module-item-sidebar[aria-current="page"] .module-icon-sidebar {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
    }

    body .modules-sidebar .module-name {
        font-size: 0.5rem !important;
    }
}

@media (max-width: 380px) {
    .jnsmail-hero .hero-title {
        font-size: 1.85rem !important;
    }

    .hero-subtitle,
    .jnsmail-hero .hero-description,
    .showcase-text p,
    .feature-card p,
    .benefit-text p {
        font-size: 0.88rem !important;
    }

    .hero-meta span {
        width: 100%;
    }
}
