/**
 * Plugin Name: PixelcraftDev Elementor Addon
 * Author: Supapong Sakulkoo (K.Auu)
 * Author URI: https://supapongai.com
 * License: Commercial - Proprietary
 * Copyright: (c) 2026 PixelcraftDev. All rights reserved.
 */

.pcd-cta2-card {
    position: relative;
    width: 400px;
    min-height: 500px;
    border-radius: 28px;
    overflow: hidden;
    background-color: #101010;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.pcd-cta2-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    --pcd-cta2-gradient-base: #000000;
    --pcd-cta2-gradient-intensity: 0.3;
    --pcd-cta2-gradient-fade: 0.18;
    --pcd-cta2-gradient-height: 100%;
    height: var(--pcd-cta2-gradient-height);
    bottom: 0;
    top: auto;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--pcd-cta2-gradient-base) calc(var(--pcd-cta2-gradient-intensity) * 100%), transparent) 0%,
        color-mix(in srgb, var(--pcd-cta2-gradient-base) calc(var(--pcd-cta2-gradient-fade) * 100%), transparent) 35%,
        rgba(0, 0, 0, 0) 100%
    );
}

.pcd-cta2-overlay.pcd-cta2-overlay-gradient-off {
    background-image: none;
}

.pcd-cta2-content {
    width: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    padding: 28px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.pcd-cta2-subtitle {
    width: 100%;
    color: #c9c9c9;
    font-size: 18px;
    line-height: 1.4;
}

.pcd-cta2-title {
    width: 100%;
    margin: 0;
    color: #ffffff;
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.pcd-cta2-divider-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.pcd-cta2-divider {
    width: 96px;
    height: 2px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.75);
}

.pcd-cta2-description {
    width: 100%;
    color: #f1f1f1;
    font-size: 18px;
    line-height: 1.45;
}

.pcd-cta2-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.pcd-cta2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #0071e3;
    color: #ffffff;
    border-radius: 100px;
    padding: 10px 20px;
    transition: opacity 0.2s ease;
}

.pcd-cta2-button:hover {
    opacity: 0.9;
}

@media (max-width: 767px) {
    .pcd-cta2-card {
        width: 100%;
        min-height: 420px;
    }

    .pcd-cta2-title {
        font-size: 40px;
    }
}
