/* Product Plan Cards Widget Styles */

.lt-pricing-widget-container {
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}

/* ==========================================
   HEADER SECTION
   ========================================== */
.lt-pricing-header {
    margin-bottom: 50px;
    width: 100%;
}

.lt-pricing-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.lt-pricing-subtitle {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   CARDS GRID SYSTEM
   ========================================== */
.lt-pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch; /* Forces all cards to have the exact same height */
    width: 100%;
}

/* ==========================================
   CARD LAYOUT
   ========================================== */
.lt-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 56px 30px 40px 30px; /* Increased top padding to 56px to give breathing room for badge & longer titles */
    border: 2px solid rgba(0, 0, 0, 0.05); /* Standard elegant border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card Hover effect */
.lt-pricing-card:hover {
    transform: translateY(-5px);
    border-color: #006CB4 !important; /* Blue selection outline active on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}


/* Highlighted Badge */
.lt-pricing-card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    background-color: #006CB4;
    color: #FFFFFF;
    text-transform: capitalize;
    box-shadow: 0 4px 10px rgba(0, 108, 180, 0.2);
    z-index: 5;
    white-space: nowrap;
}

/* Title & Description */
.lt-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.lt-card-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
    margin: 0 0 20px 0;
    min-height: 45px; /* Ensures minor variations in text height don't shift content */
}

/* Horizontal Dividers */
.lt-card-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    width: 100%;
}

/* ==========================================
   FEATURES VERTICAL LIST
   ========================================== */
.lt-card-features-list {
    display: flex;
    flex-direction: column;
    gap: 0; /* Gap is 0 because custom dividers control vertical spacing */
    flex-grow: 1; /* Pushes everything below (divider, button) neatly to the bottom */
}

.lt-card-features-list .lt-card-divider {
    margin: 16px 0; /* Compact margins between features list items to match Figma spacing exactly */
}

.lt-feat-pair {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lt-feat-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}

.lt-feat-desc {
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
}

/* ==========================================
   ACTION BUTTONS
   ========================================== */
.lt-pricing-btn-wrapper {
    width: 100%;
    margin-top: auto; /* Aligns buttons horizontally on the same line at bottom */
    padding-top: 32px; /* Adds space above the button to separate it from the last feature description */
}

.lt-pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-color: #EAECEF;
    color: #333333;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lt-btn-arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.25s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Hover effects for action button */
.lt-pricing-btn:hover {
    background-color: #006CB4;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 108, 180, 0.15);
}

.lt-pricing-btn:hover .lt-btn-arrow {
    transform: translate(3px, -3px);
}

/* ==========================================
   RESPONSIVE LAYOUTS
   ========================================== */
@media (max-width: 1024px) {
    .lt-pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    /* Main Widget Container Padding */
    .lt-pricing-widget-container {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    
    /* Header Spacing and Sizing */
    .lt-pricing-header {
        margin-bottom: 35px !important;
        padding: 0 10px !important;
    }

    .lt-pricing-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }
    
    .lt-pricing-subtitle {
        font-size: 15px !important;
        line-height: 1.45 !important;
        text-align: center !important;
        color: #666666 !important;
    }

    /* Grid Layout */
    .lt-pricing-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 10px 0 !important;
    }

    /* Sleek Mobile Card Padding & Shape */
    .lt-pricing-card {
        padding: 40px 24px 30px 24px !important; /* Elegant vertical pacing */
        border-radius: 20px !important;
    }
    
    .lt-pricing-card-badge {
        font-size: 12px !important;
        padding: 5px 14px !important;
    }
    
    .lt-card-title {
        font-size: 21px !important;
        margin-bottom: 8px !important;
    }
    
    .lt-card-desc {
        font-size: 14px !important;
        margin-bottom: 15px !important;
        min-height: auto !important; /* Remove min-height on mobile to avoid excess whitespace */
    }

    /* Compact Mobile Dividers */
    .lt-card-divider {
        margin: 14px 0 !important;
    }
    
    .lt-card-features-list .lt-card-divider {
        margin: 12px 0 !important; /* Tighter padding between features on mobile */
    }
    
    /* Feature Pairs Sizing */
    .lt-feat-pair {
        gap: 2px !important;
    }
    
    .lt-feat-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }
    
    .lt-feat-desc {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    
    /* Buttons wrapper & Button sizing */
    .lt-pricing-btn-wrapper {
        padding-top: 24px !important;
    }
    
    .lt-pricing-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
}