/* ──────────────────────────────────────────
 * Incotec Webinar-CTA Widget
 * ────────────────────────────────────────── */

/* Reset Elementor container constraints */
.elementor-widget-incotec_webinar_cta,
.elementor-widget-incotec_webinar_cta .e-con-inner,
.elementor-element:has(.incotec-webinar-cta),
.elementor-element:has(.incotec-webinar-cta) > .e-con-inner {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
}

/* ──────────────────────────────────────────
 * Base
 * ────────────────────────────────────────── */

.incotec-webinar-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #002D47;
    position: relative;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    z-index: 0;
}

.incotec-webinar-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.incotec-webinar-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 169, 157, 0.3), transparent);
}

/* ──────────────────────────────────────────
 * Hero Layout
 * ────────────────────────────────────────── */

.incotec-webinar-cta--hero .incotec-webinar-cta__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 56px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Badge */
.incotec-webinar-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 169, 157, 0.12);
    border: 1px solid rgba(0, 169, 157, 0.25);
    color: #7AD3C1;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.incotec-webinar-cta__badge-dot {
    width: 7px;
    height: 7px;
    background: #7AD3C1;
    border-radius: 50%;
    animation: incotec-wc-pulse 2s infinite;
}

@keyframes incotec-wc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Headline */
.incotec-webinar-cta__headline {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.incotec-webinar-cta__headline em {
    font-style: italic;
    color: #7AD3C1;
}

/* Subtitle */
.incotec-webinar-cta__subtitle {
    font-size: 16px;
    color: #9AB0CC;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 520px;
}

/* Meta items */
.incotec-webinar-cta__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.incotec-webinar-cta__meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #C0D0E4;
    font-size: 15px;
}

.incotec-webinar-cta__meta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.incotec-webinar-cta__meta-icon svg {
    width: 18px;
    height: 18px;
    stroke: #7AD3C1;
}

.incotec-webinar-cta__meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8A9BB5;
    display: block;
    margin-bottom: 2px;
}

.incotec-webinar-cta__meta-value {
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    display: block;
}

/* ──────────────────────────────────────────
 * CTA Card
 * ────────────────────────────────────────── */

.incotec-webinar-cta__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
    position: relative;
    animation: incotec-wc-fadeUp 0.7s ease-out 0.15s both;
}

.incotec-webinar-cta__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(90deg, #00a99d, #7AD3C1);
    border-radius: 0 0 3px 3px;
}

@keyframes incotec-wc-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.incotec-webinar-cta__card-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #002D47;
}

.incotec-webinar-cta__card-subtitle {
    font-size: 14px;
    color: #4a5e78;
    margin: 0 0 24px 0;
}

/* Availability badge */
.incotec-webinar-cta__availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #008f85;
    background: rgba(0, 169, 157, 0.06);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 20px;
}

.incotec-webinar-cta__availability-dot {
    width: 6px;
    height: 6px;
    background: #00a99d;
    border-radius: 50%;
    animation: incotec-wc-pulse 1.5s infinite;
}

/* Card details */
.incotec-webinar-cta__card-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f4f6f9;
    border-radius: 6px;
    border: 1px solid #d6dee8;
}

.incotec-webinar-cta__detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #002D47;
}

.incotec-webinar-cta__detail-row svg {
    width: 18px;
    height: 18px;
    stroke: #00a99d;
    flex-shrink: 0;
}

/* CTA Button (shared) */
.incotec-webinar-cta__button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #00a99d;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    margin-top: 8px;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
}

.incotec-webinar-cta__button:hover {
    background: #008f85;
    box-shadow: 0 4px 16px rgba(0, 169, 157, 0.3);
    color: #ffffff;
}

.incotec-webinar-cta__button:active {
    transform: scale(0.985);
}

/* Card note */
.incotec-webinar-cta__card-note {
    font-size: 12px;
    color: #8A9BB5;
    margin-top: 12px;
    text-align: center;
    line-height: 1.5;
}

.incotec-webinar-cta__card-note svg {
    width: 12px;
    height: 12px;
    vertical-align: -1px;
    margin-right: 3px;
    stroke: #00a99d;
}

/* ──────────────────────────────────────────
 * Bottom Layout
 * ────────────────────────────────────────── */

.incotec-webinar-cta--bottom::before {
    top: auto;
    bottom: -60%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.1) 0%, transparent 70%);
}

.incotec-webinar-cta__bottom-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Countdown */
.incotec-webinar-cta__countdown {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.incotec-webinar-cta__countdown-unit {
    text-align: center;
    min-width: 56px;
}

.incotec-webinar-cta__countdown-num {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    display: block;
}

.incotec-webinar-cta__countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B8AB0;
    margin-top: 4px;
    display: block;
}

.incotec-webinar-cta__countdown-sep {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #7AD3C1;
    line-height: 1;
    align-self: flex-start;
}

/* Countdown expired */
.incotec-webinar-cta__countdown-expired {
    color: #7AD3C1;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Bottom headline */
.incotec-webinar-cta__bottom-headline {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.incotec-webinar-cta__bottom-text {
    font-size: 16px;
    color: #9AB0CC;
    margin: 0 0 32px 0;
    line-height: 1.7;
}

/* Bottom CTA button (large variant) */
.incotec-webinar-cta__button--large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 16px 36px;
    font-size: 17px;
    border-radius: 6px;
}

.incotec-webinar-cta__button--large svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.2s;
}

.incotec-webinar-cta__button--large:hover svg {
    transform: translateX(3px);
}

/* Bottom meta */
.incotec-webinar-cta__bottom-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
}

.incotec-webinar-cta__bottom-meta-item {
    font-size: 14px;
    color: #6B8AB0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.incotec-webinar-cta__bottom-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: #7AD3C1;
}

/* ──────────────────────────────────────────
 * Responsive
 * ────────────────────────────────────────── */

@media (max-width: 1024px) {
    .incotec-webinar-cta--hero .incotec-webinar-cta__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px 48px;
    }

    .incotec-webinar-cta__card {
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .incotec-webinar-cta__meta {
        flex-direction: column;
        gap: 16px;
    }

    .incotec-webinar-cta__bottom-meta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .incotec-webinar-cta__countdown {
        gap: 10px;
    }

    .incotec-webinar-cta__countdown-num {
        font-size: 26px;
    }

    .incotec-webinar-cta__button--large {
        width: 100%;
    }

    .incotec-webinar-cta__card {
        padding: 28px 20px;
    }
}
