/* Reset and WordPress admin compatibility */
.msg91-pricing-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: transparent;
    min-height: auto;
    box-sizing: border-box;
    overflow: visible;
}

/* Remove any WordPress admin overrides */
.wrap.msg91-pricing-container {
    margin: 0;
    padding: 20px;
    max-width: 100%;
    width: 100%;
}

/* Header section with contained background */
.msg91-pricing-header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.msg91-pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.msg91-icon-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    animation: bounceIn 1s ease-out 0.2s both;
}

.msg91-pricing-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.msg91-pricing-title {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.msg91-pricing-subtitle {
    position: relative;
    z-index: 2;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Main content card */
.msg91-pricing-redirect {
    background: transparent;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: none;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    border: none;
    box-sizing: border-box;
}

.msg91-pricing-content {
    margin-bottom: 30px;
    text-align: center;
}

.msg91-feature-icon {
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.msg91-feature-icon svg {
    width: 50px;
    height: 50px;
}

.msg91-pricing-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.msg91-pricing-content p {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

/* Call to action button */
.msg91-pricing-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: #fff;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 124, 186, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.msg91-pricing-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.msg91-pricing-link:hover::before {
    left: 100%;
}

.msg91-pricing-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 124, 186, 0.4);
}

.msg91-arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.msg91-pricing-link:hover .msg91-arrow-icon {
    transform: translateX(3px) translateY(-3px);
}

/* Feature highlights */
.msg91-pricing-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.msg91-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    min-width: 80px;
}

.msg91-feature-item:nth-child(2) {
    animation-delay: 0.7s;
}

.msg91-feature-item:nth-child(3) {
    animation-delay: 0.8s;
}

.msg91-feature-icon-small {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.msg91-feature-item:hover .msg91-feature-icon-small {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.msg91-feature-icon-small svg {
    width: 20px;
    height: 20px;
}

.msg91-feature-item span {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    text-align: center;
    line-height: 1.2;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .msg91-pricing-container {
        padding: 15px;
    }
    
    .msg91-pricing-redirect {
        max-width: 550px;
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .msg91-pricing-container {
        padding: 15px;
    }
    
    .msg91-pricing-header {
        margin-bottom: 25px;
        padding: 25px 15px;
    }
    
    .msg91-pricing-redirect {
        padding: 30px 20px;
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
    
    .msg91-pricing-title {
        font-size: 28px;
    }
    
    .msg91-pricing-subtitle {
        font-size: 16px;
    }
    
    .msg91-pricing-content h2 {
        font-size: 22px;
    }
    
    .msg91-pricing-content p {
        font-size: 15px;
    }
    
    .msg91-pricing-link {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .msg91-pricing-features {
        gap: 15px;
    }
    
    .msg91-feature-item {
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .msg91-pricing-container {
        padding: 10px;
    }
    
    .msg91-pricing-header {
        margin-bottom: 20px;
        padding: 20px 10px;
    }
    
    .msg91-pricing-redirect {
        padding: 25px 15px;
        margin: 0 5px;
        border-radius: 12px;
        max-width: calc(100% - 10px);
    }
    
    .msg91-pricing-title {
        font-size: 24px;
    }
    
    .msg91-pricing-icon {
        width: 50px;
        height: 50px;
    }
    
    .msg91-pricing-subtitle {
        font-size: 15px;
    }
    
    .msg91-pricing-content h2 {
        font-size: 20px;
    }
    
    .msg91-pricing-content p {
        font-size: 14px;
    }
    
    .msg91-pricing-link {
        padding: 12px 20px;
        font-size: 14px;
        flex-direction: column;
        gap: 8px;
    }
    
    .msg91-pricing-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .msg91-feature-item {
        min-width: auto;
    }
    
    .msg91-feature-icon-small {
        width: 40px;
        height: 40px;
    }
    
    .msg91-feature-icon-small svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .msg91-pricing-container {
        padding: 8px;
    }
    
    .msg91-pricing-redirect {
        padding: 20px 12px;
        margin: 0 2px;
        max-width: calc(100% - 4px);
    }
    
    .msg91-pricing-title {
        font-size: 22px;
    }
    
    .msg91-pricing-subtitle {
        font-size: 14px;
    }
    
    .msg91-pricing-content h2 {
        font-size: 18px;
    }
    
    .msg91-pricing-content p {
        font-size: 13px;
    }
    
    .msg91-pricing-link {
        padding: 10px 16px;
        font-size: 13px;
    }
}