/**
 * Call to Action Widget Styles
 * 
 * @package SITS_Elementor_Addons
 * @since 1.0.0
 */

/* CTA Wrapper */
.sitsel-cta-wrapper {
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.sitsel-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* CTA Heading */
.sitsel-cta-heading {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* CTA Description */
.sitsel-cta-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

/* CTA Button */
.sitsel-cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.sitsel-cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Locked Widget Frontend Display */
.sitsel-locked-widget-frontend {
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.sitsel-locked-widget-frontend::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="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.sitsel-locked-content {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sitsel-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sitsel-lock-badge svg {
    width: 20px;
    height: 20px;
    color: #ffd700;
}

.sitsel-locked-title {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.sitsel-locked-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.sitsel-locked-upgrade-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ffffff;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sitsel-locked-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
    color: #667eea;
}

/* Locked Control in Elementor Panel */
.sitsel-locked-control .sitsel-locked-notice {
    padding: 20px;
    background: linear-gradient(135deg, #f6f8fb 0%, #fff 100%);
    border: 2px solid #d63638;
    border-radius: 8px;
    text-align: center;
}

.sitsel-locked-control .sitsel-locked-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.sitsel-locked-control h3 {
    color: #d63638;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.sitsel-locked-control p {
    color: #646970;
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.sitsel-locked-control .sitsel-locked-description {
    font-style: italic;
    opacity: 0.8;
}

.sitsel-locked-control .sitsel-upgrade-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #d63638 0%, #c62828 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.sitsel-locked-control .sitsel-upgrade-button:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(214, 54, 56, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sitsel-cta-heading {
        font-size: 28px;
    }

    .sitsel-cta-description {
        font-size: 16px;
    }

    .sitsel-cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }

    .sitsel-locked-widget-frontend {
        padding: 30px 15px;
    }

    .sitsel-locked-widget-frontend .sitsel-locked-icon {
        font-size: 36px;
    }

    .sitsel-locked-widget-frontend h3 {
        font-size: 20px;
    }

    .sitsel-locked-widget-frontend p {
        font-size: 14px;
    }
}