/* Floating "Let's talk" CTA (trippy.ch-style glowing orb). Fixed colors: same look in night and dawn. */
.mc-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.mc-cta.is-ready { opacity: 1; transform: none; }
.mc-cta.is-ready > * { pointer-events: auto; }
.mc-cta.is-hidden, .mc-cta.is-early { opacity: 0; transform: translateY(16px); }
.mc-cta.is-hidden > *, .mc-cta.is-early > * { pointer-events: none; }

.mc-cta-btn {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(192, 132, 252, 0.55);
    border-radius: 999px;
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}
.mc-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.8); }
.mc-cta-btn:focus-visible { outline: 2px solid #5eead4; outline-offset: 3px; }

.mc-cta-orb {
    flex: none;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.mc-cta.is-open .mc-cta-orb { transform: rotate(135deg); }

.mc-cta-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: max-width 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, padding 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.mc-cta.is-expanded .mc-cta-label { max-width: 340px; opacity: 1; padding-right: 22px; }

.mc-cta-panel {
    position: relative;
    width: min(350px, calc(100vw - 32px));
    padding: 24px 22px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, #1a0a2e, #2d1452);
    isolation: isolate;
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    color: #e8e0f5;
    overflow: hidden;
    transform-origin: bottom right;
    animation: mcPanelIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.mc-cta-panel[hidden] { display: none; }
.mc-cta-panel > * { position: relative; }
@keyframes mcPanelIn { from { opacity: 0; transform: translateY(8px); } }

.mc-cta-close {
    position: absolute !important;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.4);
    background: rgba(26, 10, 46, 0.6);
    color: #c9bde3;
    cursor: pointer;
    font-size: 0.8rem;
}
.mc-cta-close:hover { color: #fff; border-color: #2dd4bf; }

.mc-cta-kicker { margin: 0 0 8px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #2dd4bf; }
.mc-cta-title { margin: 0 0 8px; font-size: 1.45rem; font-weight: 300; line-height: 1.25; letter-spacing: 0.01em; color: #fff; text-shadow: 0 0 30px rgba(140, 100, 255, 0.55); padding-right: 24px; }
.mc-cta-text { margin: 0 0 16px; font-size: 0.88rem; line-height: 1.6; color: #b9aed6; }

.mc-cta-options { display: grid; gap: 8px; }
.mc-cta-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(168, 85, 247, 0.22);
    color: #e8e0f5;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.mc-cta-opt:hover, .mc-cta-opt:focus-visible { border-color: #2dd4bf; background: rgba(45, 212, 191, 0.08); transform: translateX(3px); outline: none; color: #e8e0f5; }
.mc-cta-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.mc-cta-ic.mail { background: linear-gradient(135deg, #14b8a6, #2dd4bf); color: #10061c; }
.mc-cta-ic.li { background: #0A66C2; }
.mc-cta-ic.ig { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF 80%, #515BD4); }
.mc-cta-optx { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mc-cta-optx b { font-size: 0.92rem; font-weight: 600; }
.mc-cta-optx small { font-size: 0.76rem; color: #a89ec7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-cta-arrow { margin-left: auto; color: #5eead4; }

.mc-cta-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 6px 4px;
    border: 0;
    background: none;
    color: #a89ec7;
    font: 500 0.78rem 'Inter', system-ui, sans-serif;
    letter-spacing: 0.03em;
    cursor: pointer;
}
.mc-cta-copy:hover { color: #5eead4; }

/* Keep page footers clear of the floating button */
footer, footer.footer { padding-bottom: 96px; }

@media (max-width: 640px) {
    .mc-cta { right: 16px; bottom: 16px; }
    .mc-cta-btn { height: 52px; }
    .mc-cta-orb { width: 50px; height: 50px; }
    .mc-cta.is-expanded .mc-cta-label { max-width: calc(100vw - 110px); font-size: 0.84rem; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .mc-cta-btn, .mc-cta-panel::before { animation: none; }
}
