/**
 * SML CTA Banner Widget CSS
 * Clinical Precision Design - 연구소/바이오텍 스타일
 */

/* ============================================
   SML CTA Banner - Clinical Precision Design
   ============================================ */

.sml-cta-banner {
    --cta-text-color: #FFFFFF;
    --cta-btn-bg: #00C9A7;
    --cta-btn-text: #0A2540;
    --cta-overlay-opacity: 0.7;
    --cta-bg: linear-gradient(135deg, #0A2540 0%, #0D2E4D 100%);
    
    position: relative;
    padding: 80px 40px;
    background: var(--cta-bg);
    overflow: hidden;
}

.sml-cta-banner.has-bg-media {
    background-color: #0A2540;
}

/* Background Elements */
.sml-cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.sml-cta-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.sml-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 64, var(--cta-overlay-opacity));
    z-index: 2;
}

/* Decorations */
.sml-cta-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 2;
    pointer-events: none;
}

.sml-cta-decoration-1 {
    top: -100px;
    right: -50px;
}

.sml-cta-decoration-2 {
    bottom: -150px;
    left: -100px;
}

/* Content */
.sml-cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

/* Layout: Center */
.sml-cta-banner.layout-center .sml-cta-content {
    margin: 0 auto;
    text-align: center;
}

.sml-cta-banner.layout-center .sml-cta-buttons {
    justify-content: center;
}

/* Layout: Left */
.sml-cta-banner.layout-left .sml-cta-content {
    text-align: left;
}

/* Layout: Split */
.sml-cta-content.layout-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.layout-split .sml-cta-desc {
    margin-bottom: 0;
}

/* Typography */
.sml-cta-title {
    font-family: var(--sml-font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--cta-text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.sml-cta-desc {
    font-family: var(--sml-font-body, 'DM Sans', sans-serif);
    font-size: 18px;
    color: var(--cta-text-color);
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Buttons */
.sml-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sml-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--sml-font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sml-cta-btn-primary {
    background: var(--cta-btn-bg);
    color: var(--cta-btn-text);
}

.sml-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 201, 167, 0.35);
}

.sml-cta-btn-secondary {
    background: transparent;
    color: var(--cta-text-color);
    border: 2px solid var(--cta-text-color);
}

.sml-cta-btn-secondary:hover {
    background: var(--cta-text-color);
    color: var(--cta-btn-text);
}

.sml-cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.sml-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .sml-cta-banner {
        padding: 60px 30px;
    }

    .sml-cta-title {
        font-size: 28px;
    }

    .sml-cta-desc {
        font-size: 16px;
    }

    .sml-cta-content.layout-split {
        flex-direction: column;
        text-align: center;
    }

    .layout-split .sml-cta-text {
        margin-bottom: 30px;
    }

    .layout-split .sml-cta-buttons {
        justify-content: center;
    }

    .sml-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sml-cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
