:root {
    --foxik-green: #143d2d;
    --foxik-green-light: #1d5942;
    --foxik-orange: #d97706;
    --foxik-cream: #fffaf0;
}

.foxik-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(56, 161, 105, .15), transparent 30%),
        linear-gradient(145deg, #f7fbf8 0%, #edf6f1 58%, #fff9ee 100%);
}

.foxik-section::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -170px;
    top: -170px;
    border: 1px solid rgba(20, 61, 45, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(20, 61, 45, .025), 0 0 0 110px rgba(20, 61, 45, .02);
    pointer-events: none;
}

.foxik-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: center;
    gap: clamp(40px, 7vw, 88px);
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid rgba(20, 61, 45, .1);
    border-radius: 28px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 70px rgba(20, 61, 45, .12);
    isolation: isolate;
}

.foxik-showcase__content { min-width: 0; }

.foxik-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--foxik-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.foxik-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.foxik-showcase h2 {
    margin-bottom: 20px;
    color: var(--foxik-green);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.foxik-lead {
    max-width: 650px;
    color: #34443d;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.75;
}

.foxik-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 22px;
}

.foxik-benefits span {
    padding: 9px 13px;
    border: 1px solid rgba(20, 61, 45, .12);
    border-radius: 999px;
    background: #fff;
    color: var(--foxik-green);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(20, 61, 45, .05);
}

.foxik-note {
    max-width: 650px;
    margin-bottom: 28px;
    color: #5a6b63;
    font-size: 15px;
}

.foxik-cta,
.foxik-widget__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    background: var(--foxik-orange);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(217, 119, 6, .25);
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.foxik-cta { padding: 15px 22px; }
.foxik-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.foxik-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.foxik-cta-group .foxik-cta { flex: 1 1 240px; }

.foxik-cta:hover,
.foxik-widget__cta:hover {
    background: #b45309;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(180, 83, 9, .28);
}

.foxik-cta:focus-visible,
.foxik-widget button:focus-visible,
.foxik-widget a:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

.foxik-showcase__visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.foxik-image-frame {
    position: relative;
    width: min(100%, 390px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, .88);
    border-radius: 46% 54% 48% 52% / 52% 45% 55% 48%;
    background: linear-gradient(145deg, #dceee4, #f9e5c5);
    box-shadow: 0 25px 60px rgba(20, 61, 45, .2);
    transform: rotate(2deg);
}

.foxik-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(20, 61, 45, .14));
    pointer-events: none;
}

.foxik-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(-2deg) scale(1.04);
}

.foxik-tip {
    position: absolute;
    right: -18px;
    bottom: 12px;
    width: min(290px, 80%);
    padding: 15px 18px;
    border: 1px solid rgba(20, 61, 45, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    color: #4b5b54;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 14px 35px rgba(20, 61, 45, .16);
}

.foxik-tip strong { color: var(--foxik-green); }

.foxik-orbit {
    position: absolute;
    z-index: -1;
    color: #e39a32;
    font-size: 30px;
}

.foxik-orbit--one { top: 22px; right: 3%; }
.foxik-orbit--two { left: 3%; bottom: 68px; font-size: 20px; }

.foxik-widget {
    position: fixed;
    right: 32px;
    bottom: 104px;
    z-index: 998;
    font-family: 'Inter', Arial, sans-serif;
}

.foxik-widget__launcher {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.foxik-widget__trigger {
    position: relative;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    overflow: visible;
    padding: 0;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #e6f2eb;
    box-shadow: 0 10px 30px rgba(20, 61, 45, .28);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.foxik-widget__launcher:hover .foxik-widget__trigger {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 34px rgba(20, 61, 45, .34);
}

.foxik-widget__trigger img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.foxik-widget__online {
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 17px;
    height: 17px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #22c55e;
}

.foxik-widget__hint {
    padding: 9px 13px;
    border: 1px solid rgba(20, 61, 45, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: var(--foxik-green);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(20, 61, 45, .15);
    transition: opacity .2s ease, transform .2s ease;
}

.foxik-widget.is-open .foxik-widget__hint {
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
}

.foxik-widget__panel {
    position: absolute;
    right: 0;
    bottom: 94px;
    width: min(360px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid rgba(20, 61, 45, .12);
    border-radius: 20px;
    background: #fff;
    color: #3e4d46;
    box-shadow: 0 24px 70px rgba(15, 41, 30, .25);
    animation: foxik-panel-in .24s ease-out both;
}

.foxik-widget__panel::after {
    content: "";
    position: absolute;
    right: 29px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    border-right: 1px solid rgba(20, 61, 45, .12);
    border-bottom: 1px solid rgba(20, 61, 45, .12);
    background: #fff;
    transform: rotate(45deg);
}

.foxik-widget__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f7f5;
    color: var(--foxik-green);
    cursor: pointer;
}

.foxik-widget__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.foxik-widget__head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-right: 24px;
    margin-bottom: 14px;
}

.foxik-widget__head img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border: 3px solid #edf6f1;
    border-radius: 50%;
    object-fit: cover;
}

.foxik-widget__status {
    display: block;
    margin-bottom: 3px;
    color: #16803a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.foxik-widget__head h2 {
    margin: 0;
    color: var(--foxik-green);
    font-size: 20px;
    line-height: 1.2;
}

.foxik-widget__panel p { font-size: 14px; line-height: 1.55; }
.foxik-widget__intro { margin: 0 0 7px; color: #5a6b63; }
.foxik-widget__question { margin: 0 0 17px; color: var(--foxik-green); font-weight: 700; }
.foxik-widget__actions { display: flex; gap: 10px; }
.foxik-widget__cta {
    width: auto;
    flex: 1 1 0;
    padding: 12px 10px;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

@keyframes foxik-panel-in {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
    .foxik-showcase { grid-template-columns: 1fr; }
    .foxik-showcase__visual { min-height: 380px; }
    .foxik-image-frame { width: min(82vw, 360px); }
    .foxik-tip { right: 4%; }
}

@media (max-width: 768px) {
    .foxik-section { padding: 64px 0; }
    .foxik-showcase { padding: 30px 22px; border-radius: 22px; gap: 34px; }
    .foxik-showcase h2 { font-size: clamp(32px, 11vw, 44px); }
    .foxik-lead { font-size: 17px; line-height: 1.65; }
    .foxik-cta-group { flex-direction: column; }
    .foxik-cta-group .foxik-cta { width: 100%; flex-basis: auto; }
    .foxik-showcase__visual { min-height: 340px; }
    .foxik-tip { right: 0; bottom: 0; width: 88%; }

    .foxik-widget { right: 20px; bottom: 86px; }
    .foxik-widget__trigger { width: 66px; height: 66px; flex-basis: 66px; }
    .foxik-widget__hint { display: none; }
    .foxik-widget__panel {
        position: fixed;
        right: 16px;
        bottom: 166px;
        width: calc(100vw - 32px);
        max-width: 360px;
        max-height: calc(100dvh - 182px);
        overflow-y: auto;
    }
    .foxik-widget__panel::after { right: 25px; }
    .foxik-widget__actions { flex-direction: column; }
    .foxik-widget__cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .foxik-widget__panel { animation: none; }
    .foxik-cta,
    .foxik-widget__cta,
    .foxik-widget__launcher,
    .foxik-widget__trigger,
    .foxik-widget__hint { transition: none; }
}
