
.page-id-4366 {

/* ============================================
   PREMIUM SAAS PRICING PAGE STYLES
   Brand Color: #5d48df
   ============================================ */

/* --- GLOBAL RESET & BASE --- */
/* .package{
    top: 10px;
    right: -24px;
    width: 110px;
    rotate: 36deg;
    position: absolute;
    color: #FFF;
    background: linear-gradient(45deg, #bb0200, #a70302);
    font-size: 13px;
} */
 .package{
    padding-left: 8px;
        top: 9px;
        right: -27px;
        width: 123px;
        rotate: 36deg;
        position: absolute;
        color: #FFF;
        background: linear-gradient(45deg, #bb0200, #a70302);
        font-size: 13px;
 }
#main {
        font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* --- HERO SECTION --- */
.bg {
    background: linear-gradient(135deg, #5d48df 0%, #6b5ce6 50%, #7c6ee8 100%);
    padding: 100px 20px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.bg > div {
    position: relative;
    z-index: 1;
}

.titre {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Force white text in hero section */
.bg .titre,
.bg h1,
.bg h2,
.bg h3,
.bg h4,
.bg h5,
.bg h6,
.bg .text-white {
    color: #ffffff !important;
}

.souTitre {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 18px;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}
.souTitre i{
    margin: 0 4px;
    color: #FFF;
}
.souTitre span {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.bg p,
.bg .souTitre {
    color: #ffffff !important;
}

/* --- TOGGLE SWITCHES (Premium Style) --- */
.informations {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(93, 72, 223, 0.08);
}

.form-check-label,
.informations span {
    font-weight: 600;
    color: #1a1f36;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.form-check-input {
    width: 52px !important;
    height: 28px !important;
    background-color: #e2e8f0 !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-check-input:checked {
    background-color: #5d48df !important;
    border-color: #5d48df !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(93, 72, 223, 0.15) !important;
    border-color: #5d48df !important;
}

.form-check-input::after {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- PRODUCTS SECTION --- */
.custom-box {
    background: linear-gradient(135deg, rgba(93, 72, 223, 0.03) 0%, rgba(255, 255, 255, 1) 100%) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    border: 1px solid rgba(93, 72, 223, 0.1);
    box-shadow: 0 8px 32px rgba(93, 72, 223, 0.06);
    margin-top: 30px;
}

#btnsconn h5.titre {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #1a1f36 !important;
    margin-bottom: 24px;
}

#buttonsContainer button {
    width: 100%;
    padding: 16px 24px;
    margin-bottom: 12px;
    background: #ffffff;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    color: #4a5568;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* #buttonsContainer button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #4434a3;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} */

#buttonsContainer button:hover {
    border-color: #5d48df;
    background: linear-gradient(135deg, rgba(93, 72, 223, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(93, 72, 223, 0.15);
}

#buttonsContainer button.pressedButton {
    background: linear-gradient(135deg, #4a39b2 0%, #41329c 100%) !important;
    color: #ffffff;
    border-color: #5d48df;
    box-shadow: 0 4px 16px rgba(93, 72, 223, 0.3) !important;
}

#buttonsContainer button.pressedButton::before {
    transform: scaleY(1) !important;
}

/* --- PRICING CARDS (Premium Design) --- */
.pricing-border {
    background: #ffffff !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 20px !important;
    /* padding: 40px 32px !important; */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5d48df 0%, #6b5ce6 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-border:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(93, 72, 223, 0.15), 0 0 0 1px rgba(93, 72, 223, 0.1) !important;
    border-color: #5d48df !important;
}
.specialpack{
    
    box-shadow: 0 20px 40px rgba(93, 72, 223, 0.15), 0 0 0 1px rgba(93, 72, 223, 0.1) !important;
    border-color: #5d48df !important;
}

.pricing-border:hover::before {
    transform: scaleX(1);
}

.packagename {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1f36;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.price {
    color: #5d48df !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    text-align: center;
    margin: 24px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 0.4em;
    color: #64748b;
    font-weight: 500;
}

/* --- BUTTONS (Premium Style) --- */
.btn-color,
.btn-color-subscribe,
.btn-color-table {
    background: linear-gradient(135deg, #5d48df 0%, #6b5ce6 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    font-size: 15px;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(93, 72, 223, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-color::before,
.btn-color-subscribe::before,
.btn-color-table::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-color:hover,
.btn-color-subscribe:hover,
.btn-color-table:hover {
    background: linear-gradient(135deg, #4d38cf 0%, #5b4cd6 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 72, 223, 0.4);
}

.btn-color:active,
.btn-color-subscribe:active,
.btn-color-table:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(93, 72, 223, 0.3);
}

.btn-color:hover::before,
.btn-color-subscribe:hover::before,
.btn-color-table:hover::before {
    width: 300px;
    height: 300px;
}

/* --- FEATURES LIST --- */
.features {
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

.features li {
    padding: 10px 0;
    font-size: 15px;
    color: #4a5568;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.features li:hover {
    color: #5d48df;
}

.features li i,
.features li .checkicon {
    color: #5d48df;
    margin-right: 12px;
    font-size: 16px;
}

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #111827;
}

/* ===== TABLE SETUP ===== */
table {
    width: 100%;
    /* 'Separate' is needed for border-radius to work on the table */
    border-collapse: separate; 
    border-spacing: 0;
    background: white;
    border-radius: 22px; 
    /* General table shadow */
    box-shadow:
        0 15px 30px rgba(79, 70, 229, 0.1),
        0 8px 15px rgba(99, 102, 241, 0.1);
}

/* ===== UNIFIED STICKY HEADER ===== */

thead {
    /* 1. We make the whole ROW sticky, not individual cells */
    position: sticky;
    top: 99px;
    z-index: 6;

    /* 2. We put the shadow on the container so it's one smooth block */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

thead th {
    /* Style the cells */
    padding: 26px 30px !important;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    
    /* Background must be here to cover scrolling content */
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    
    /* Subtle bottom border */
    border-bottom: 1px solid #e0e7ff;
    
    /* IMPORTANT: No box-shadow here, so no "lines" between cells */
    box-shadow: none; 
}

thead th:first-child {
    text-align: left;
    font-size: 18px;
}

/* ===== ROUNDED HEADER CORNERS ===== */
/* We specifically round the top corners of the first and last cell */
thead th:first-child {
    border-top-left-radius: 22px;
}
thead th:last-child {
    border-top-right-radius: 22px;
}

/* ===== CONTINUOUS GRADIENT LINE ===== */
/* 3. We apply the line to the THEAD so it spans the full width continuously */
thead::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    
    /* The smooth gradient */
    background: linear-gradient(90deg, #4f46e5, #6366f1, #818cf8);
    
    /* Ensure it sits on top of the border/cells */
    z-index: 10;
    pointer-events: none;
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 26px;
    background: linear-gradient(135deg,#4f46e5,#6366f1,#818cf8);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.25s;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.35);
}

/* ===== CATEGORY ROWS ===== */
.category-row th {
    background: #eef2ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    color: #4f46e5;
    font-weight: 800;
    padding: 28px 30px;
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
    text-align: left;
}

/* ===== BODY ROWS ===== */
tbody tr {
    transition: 0.2s;
}

tbody tr:nth-child(even):not(.category-row) {
    background: #f8f9ff !important;
}
tbody tr,tbody th,tbody td {
    background: #f8f9ff !important;
}
tbody tr:hover:not(.category-row) {
    background: #e0e7ff !important;
}

tbody th,
tbody td {
    padding: 20px 30px;
    font-size: 15px;
    border-bottom: 1px solid #f1f3f7;
}

/* Round bottom corners of the table */
tbody tr:last-child th {
    border-bottom-left-radius: 22px;
    border-bottom: none;
}
tbody tr:last-child td:last-child {
    border-bottom-right-radius: 22px;
    border-bottom: none;
}

tbody th {
    text-align: left;
    font-weight: 500;
    color: #374151;
}

tbody td {
    text-align: center;
}

/* ===== ICONS ===== */
.fa-circle-check {
    color: #6366f1;
    font-size: 22px;
}

.fa-circle-xmark {
    color: #d1d5db;
    font-size: 22px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    table { font-size: 14px; }
    thead th, tbody th, tbody td { padding: 14px; }
    h2 { font-size: 26px; }
    thead { top: 60px; } 
}

/* --- WARNING MESSAGE --- */
.warn {
    font-size: 14px;
    color: #64748b;
    background: linear-gradient(135deg, rgba(93, 72, 223, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(93, 72, 223, 0.1);
    margin-top: 32px;
    font-weight: 500;
}

.warn b {
    color: #5d48df;
    font-weight: 600;
}

/* --- UTILITIES --- */
.dis {
    text-decoration: line-through;
    opacity: 0.5;
    color: #94a3b8;
}

.drop {
    cursor: pointer;
    color: #5d48df;
    font-size: 20px;
    transition: all 0.2s ease;
}

.drop:hover {
    color: #4d38cf;
    transform: scale(1.1);
}

/* --- RESPONSIVE DESIGN --- */
@media screen and (max-width: 991px) {
    .titre {
        font-size: 36px !important;
    }
    
    .souTitre {
        font-size: 16px !important;
    }
    
    .bg {
        padding: 60px 20px;
    }
    
    #btnsconn {
        position: sticky;
        top: 20px;
        z-index: 1;
        background: #ffffff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        margin-bottom: 24px;
    }
    
    .pricing-border {
        margin-bottom: 24px;
    }
    
    .table {
        font-size: 14px;
    }
    
    #tableHeader th {
        padding: 20px 16px !important;
        font-size: 14px;
    }
    
    .table tbody th,
    .table tbody td {
        padding: 16px 12px !important;
        font-size: 13px;
    }
}

@media screen and (max-width: 576px) {
    .titre {
        font-size: 28px !important;
    }
    
    .price {
        font-size: 2.2rem !important;
    }
    
    .custom-box {
        padding: 24px !important;
    }
    
    #TablePosition {
        font-size: 28px !important;
    }
}

/* --- SMOOTH SCROLLING --- */
html {
    scroll-behavior: smooth;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-border {
    animation: fadeInUp 0.6s ease-out;
}

.pricing-border:nth-child(1) { animation-delay: 0.1s; }
.pricing-border:nth-child(2) { animation-delay: 0.2s; }
.pricing-border:nth-child(3) { animation-delay: 0.3s; }






/* ============================================
   HAYNES PRO COMPARISON TABLE STYLES
   (Bootstrap Override)
   ============================================ */

/* 1. Reset Bootstrap Table Defaults */
.haynes-table {
    width: 100%;
    /* CRITICAL: 'separate' allows rounded corners. Bootstrap defaults to 'collapse' */
    border-collapse: separate !important; 
    border-spacing: 0;
    
    background: white;
    border-radius: 22px; 
    
    /* Soft shadow to match your pricing cards */
    /* box-shadow: 0 15px 30px rgba(93, 72, 223, 0.08), 0 5px 15px rgba(0,0,0,0.03); */
    box-shadow: 0 15px 30px rgb(93 72 223 / 30%), 0 5px 15px rgb(0 0 0 / 25%);
    margin-bottom: 2rem;
    border: none !important;
}

/* 2. Unified Sticky Header */
.haynes-table thead {
    position: sticky;
    top: 99px; /* Offset requested */
    z-index: 9; /* Higher than table content, lower than nav/modals */
    
    /* One unified shadow for the whole header row */
    box-shadow: 0 10px 20px rgba(93, 72, 223, 0.05);
}

.haynes-table thead th {
    
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px); /* Glass effect */
    padding: 26px 30px !important;
    font-size: 22px;
    font-weight: 700;
    color: #1a1f36; /* Your text color */
    text-align: center;
    border-bottom: 1px solid #e2e8f0; /* Light grey border */
    vertical-align: middle;
}
.haynes-table  th{
    border-left: none !important; /* Kill Bootstrap left border */
    border-right: none !important; /* Kill Bootstrap left border */
    
}

.haynes-table thead th:first-child {
    text-align: center;
    font-size: 25px !important;
}

/* 3. Header Rounding & Gradient Line */
/* Round Top Left/Right of the header cells */
.haynes-table thead th:first-child { border-top-left-radius: 22px; }
.haynes-table thead th:last-child  { border-top-right-radius: 22px; }

/* The Purple Gradient Line at the bottom of header */
.haynes-table thead::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Uses your brand colors */
    background: linear-gradient(90deg, #5d48df, #6b5ce6, #7c6ee8);
    z-index: 101;
    pointer-events: none;
}

/* 4. Category Rows */
.haynes-table .category-row th {
    background: linear-gradient(180deg, #7a6bff 0%, #6a58f0 40%, #5d48df 100%) !important; /* Very light purple/grey */
    color: #ffffff; /* Brand Purple */
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px !important;
    letter-spacing: 0.08em;
    padding: 18px 30px !important;
    text-align: left;
    
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* 5. Body Rows & Cells */
.haynes-table tbody th,
.haynes-table tbody td {
    padding: 20px 30px !important;
    font-size: 15px;
    color: #4a5568;
    border-bottom: 1px solid #f1f5f9;
    border-top: none !important; /* Kill Bootstrap top border */
    vertical-align: middle;
    border-right: none !important;
    border-left: none !important;
}

.haynes-table tbody td {
    text-align: center;
}

/* Zebra Striping */
.haynes-table tbody tr:nth-child(even):not(.category-row) {
    background: #FFF !important;
}

/* Hover Effect */
.haynes-table tbody tr:hover:not(.category-row) {
    background: rgba(93, 72, 223, 0.03); /* Very faint purple hover */
}

/* 6. Footer Rounding */
.haynes-table tbody tr:last-child th { border-bottom-left-radius: 22px; border-bottom: none; }
.haynes-table tbody tr:last-child td:last-child { border-bottom-right-radius: 22px; border-bottom: none; }

/* 7. Icons */
.haynes-table .fa-circle-check { color: #5d48df; font-size: 20px; } /* Brand Purple */
.haynes-table .fa-circle-xmark { color: #cbd5e1; font-size: 20px; } /* Grey */

/* 8. Mobile Responsiveness */
@media (max-width: 768px) {
    .haynes-table thead th, 
    .haynes-table tbody th, 
    .haynes-table tbody td {
        padding: 15px 15px ;
        font-size: 14px;

    }
    
    /* Ensure sticky header doesn't get covered by mobile menus */
    .haynes-table thead { top: 60px; } 
    
    /* Make buttons smaller on mobile */
    .haynes-table .btn-color {
        padding: 10px 20px !important;
        font-size: 13px;
    }
}

.bgt h2{
    margin-bottom: 30px;
}
table thead:first-child tr:first-child th{
    border-block-start:none;
}
.freeprice{
    margin-top: 39px;
    margin-bottom: 41px;
}
.freebutton{
    margin-bottom: 49px !important;
}
.pricing-border.active-card {
    background: linear-gradient(135deg, rgba(93, 72, 223, 0.08) 0%, rgba(255, 255, 255, 1) 100%) !important;
    border-color: #5d48df !important;
    box-shadow: 0 8px 24px rgba(93, 72, 223, 0.25) !important;
    transform: translateY(-4px) scale(1.01);
}
}