/* =====================================================================
   FINAL CTA - "Tell me what you are trying to change."
   Right: a stage photo swings open like a door, a podcast photo floats in
   front, a gold ring turns behind. Left: big headline + actions.
   ===================================================================== */
.cta3d { position: relative; padding: 140px 0 130px; overflow: hidden; }
.cta3d::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 60% at 72% 50%, rgba(32,156,207,.12), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(32,156,207,.06), transparent 70%); }
/* giant outline word drifting behind everything */
.k3-bg-word {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
    font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(10rem, 26vw, 30rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(32,156,207,.12);
}
.k3-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }

/* ---- copy ---- */
.k3-copy { display: grid; gap: 22px; }
.k3-heading { margin: 4px 0 0; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(3.2rem, 6.4vw, 7rem); line-height: .93; letter-spacing: -.025em; color: #fff; }
.k3-heading em { font-style: italic; background: linear-gradient(175deg, #f1f5c8, #c7cf15 50%, #209ccf); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.k3-text { margin: 0; max-width: 520px; font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.7); }
.k3-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.k3-main-btn { position: relative; }
.k3-main-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 1px solid rgba(32,156,207,.6); animation: k3pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes k3pulse { 0% { transform: scale(.96); opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
.k3-topics { list-style: none; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.k3-topics li { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.7); }
.k3-topics i { color: #c7cf15; font-size: .85rem; }

/* ---- 3D scene ---- */
.k3-scene { position: relative; aspect-ratio: 1 / .95; width: 100%; max-width: 640px; justify-self: center; perspective: 1500px;
    transform: rotateX(calc(var(--py, 0) * -6deg)) rotateY(calc(var(--px, 0) * 8deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.k3-ring { position: absolute; left: 50%; top: 48%; width: 92%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) rotateX(70deg);
    border: 1px solid rgba(32,156,207,.4); box-shadow: 0 0 40px rgba(32,156,207,.15); animation: k3ring 16s linear infinite; pointer-events: none; }
.k3-ring::after { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #e3ea6e; box-shadow: 0 0 16px #c7cf15; }
@keyframes k3ring { from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0); } to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); } }

.k3-door, .k3-chip { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; background: #0d0d0e; will-change: transform, opacity; }
.k3-door img, .k3-chip img { display: block; width: 100%; height: auto; }
/* main stage photo: hinged on its left edge like a door */
.k3-door { left: 0; top: 10%; width: 88%; z-index: 1; transform-origin: 0% 50%;
    box-shadow: 0 60px 110px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(32,156,207,.4); }
.k3-door::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(232,242,160,.22) 48%, transparent 66%); transform: translateX(-120%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.k3-scene:hover .k3-door::after { transform: translateX(120%); }
/* podcast photo floating in front */
.k3-chip { right: 0; bottom: 6%; width: 48%; z-index: 2; border: 4px solid #0c0c0d;
    box-shadow: 0 40px 80px -24px rgba(0,0,0,.95), 0 0 0 1px rgba(32,156,207,.5); }
.k3-note {
    position: absolute; left: 6%; bottom: 10%; z-index: 3; display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; color: #fff; background: rgba(5,5,5,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8);
}
.k3-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); animation: k3blink 1.8s ease-in-out infinite; }
@keyframes k3blink { 50% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }

@media (max-width: 1000px) {
    .k3-grid { grid-template-columns: 1fr; }
    .k3-scene { max-width: 560px; }
}
@media (max-width: 560px) {
    .cta3d { padding: 100px 0 90px; }
    .k3-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .k3-ring, .k3-main-btn::after, .k3-dot { animation: none; }
    .k3-scene { transform: none; transition: none; }
}
